ConceptsTool Annotations

Tool Annotations

MCP tool annotations drive Skyflo's approval policy. Each tool declares whether it is read-only (auto-execute) or mutating (approval required), and whether it is destructive (flagged for extra caution).

Core Annotations

AnnotationTypePurpose
readOnlyHintbooleantrue = auto-execute, no approval. false = requires approval.
destructiveHintbooleantrue = flagged for extra caution (delete, drain, uninstall, abort). Still requires approval.
titlestringHuman-readable tool name for the UI.
tagsstring[]Category tags: k8s, helm, argo, jenkins. Used for filtering and display.

Approval Policy

readOnlyHintdestructiveHintBehavior
trueanyAuto-execute. No approval.
falsefalsePause for approval. Standard mutation.
falsetruePause for approval. UI flags as destructive.

Example Annotations

ToolreadOnlyHintdestructiveHintTags
k8s_list_podstruefalsek8s
k8s_get_pod_logstruefalsek8s
k8s_applyfalsefalsek8s
k8s_scale_deploymentfalsefalsek8s
k8s_drain_nodefalsetruek8s
k8s_deletefalsetruek8s
helm_searchtruefalsehelm
helm_installfalsefalsehelm
helm_uninstallfalsetruehelm
argo_promotefalsefalseargo
argo_abortfalsetrueargo
jenkins_list_jobstruefalsejenkins
jenkins_trigger_buildfalsefalsejenkins

Destructive Operations

Operations with destructiveHint: true are flagged in the UI. They still require approval. The flag signals: "This operation is irreversible or high-impact." Examples:

  • k8s_delete: Removes resources.
  • k8s_drain_node: Evicts all pods from a node.
  • helm_uninstall: Removes a release and its resources.
  • argo_abort: Aborts a rollout, reverts to previous stable.

Tags

Tags group tools by domain. Used for:

  • Sidebar and docs organization.
  • Filtering in the Command Center.
  • Audit trail categorization.

Standard tags: k8s, helm, argo, jenkins.