Skip to main content
Glama

Approve the durable MCP server approval snapshot

approve_mcp_server
DestructiveIdempotent

When to use: approve a local server approval after operator review. status_mcp_server returns the current hashes and previous snapshot for comparison. When NOT to use: ordinary scanning; use vet_mcp_server.

Instructions

When to use: approve a local server approval after operator review. status_mcp_server returns the current hashes and previous snapshot for comparison. When NOT to use: ordinary scanning; use vet_mcp_server. Approve/revoke require WARDEN_ALLOW_PIN_CHANGES=1 set by the operator before process startup. Approval requires the exact reviewed tool and identity hashes plus previous_pin_revision (null for first approval); it never starts the target server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolsYesExact tools/list payload (1..256 tools). Each item is name + description + inputSchema from the server. Do not filter before vetting — blockedTools is the partition.
serverYesIdentity of the MCP server being vetted — the host's McpServerRef, not a live connection. WARDEN never launches this command or fetches this URL.
reviewed_tools_hashYescurrentToolsHash returned by status_mcp_server for this exact payload.
previous_pin_revisionYesPreviously reviewed previousRevision, or null if unpinned.
reviewed_identity_hashYescurrentIdentityHash returned by status_mcp_server for this exact launch identity.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, openWorldHint=false, so safety profile is partly covered. The description adds valuable behavior: the env-var gate that must be set before process startup, that approval never starts the target server, and the null-on-first-approval rule. It stops short of spelling out what mutation is destructive (the prior pin being superseded).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the decision rules (when/when-not) before the mechanics, and every sentence carries load. It is dense with prerequisites, but nothing is idle filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, return values need no explanation. The description covers prerequisites, the exact-hash requirement, the alternative sibling, and the fact that the target server is not launched — everything an agent needs to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already defines every parameter including the hash provenance and previous_pin_revision nullability. The description restates the hash-linkage and null rule in prose but adds no syntax or format detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('approve a local server approval') and frames it against the operator-review workflow. It distinguishes itself from status_mcp_server and vet_mcp_server by name, so an agent can route without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('approve ... after operator review'), explicit when-NOT-to-use ('ordinary scanning; use vet_mcp_server'), and names status_mcp_server as the source of the required hashes. Prerequisites like WARDEN_ALLOW_PIN_CHANGES=1 are stated outright.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.