Skip to main content
Glama

AEO Goal

approve_action

Destructive

Approve a draft, optionally merging human edits. Organization admin required; does not publish.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>"
    },
    "name": "approve_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
artifactNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The description adds two facts beyond the annotations: an admin authorization requirement and the negative scope 'does not publish'. What it does not address is the destructiveHint=true / idempotentHint=false profile the annotations declare — whether merging human edits overwrites the draft, whether approval can be undone, or whether re-approval is safe is left unexplained.

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?

Three short clauses, front-loaded with the action and followed by the two constraints that most affect a decision to call it. No filler; the only missed opportunity is that the admin and no-publish clauses could be tied explicitly to the alternatives.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with a nested parameter and no output schema, the definition covers authorization and side-effect scope but leaves gaps on reversibility, what approval yields, and how the task_id/artifact pair should be supplied. Adequate as a minimum but not fully sufficient to call confidently.

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 0% for both parameters including a nested object, so the description must carry the load. 'Optionally merging human edits' usefully hints at the purpose of the optional 'artifact' object, but 'task_id' is never explained and the internal shape of artifact remains undocumented.

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

Purpose4/5

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

The description names a specific verb ('Approve') and resource ('a draft'), and adds scope qualifiers that an agent can act on ('optionally merging human edits', 'does not publish'). It implicitly separates approval from the publish/execute step, though it never names execute_approved_action, so the sibling boundary must be inferred.

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

Usage Guidelines3/5

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

'Organization admin required' gives a real precondition for use, and 'does not publish' implies this is the gate before execution. However, there is no explicit when-to-use/when-not statement and no named alternative, so the agent must reason about where approval sits relative to execute_approved_action or rollback_action.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources