Skip to main content
Glama

Approve an item

approve_item
Destructive

Approve one item your AI team prepared — this carries it out (it may publish a post, send an email to a customer, or change the owner's website). First read it with get_item and show the owner what it says; only call once they have clearly said to approve it, passing the contentHash get_item gave. Only the business owner's connection can do this.

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": {
      "id": "<id>"
    },
    "name": "approve_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe item's id, from list_pending_approvals or get_briefing.
contentHashNoThe contentHash get_item gave for the version the owner was shown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / contentHash
      Added value: +{
      +  "description": "The contentHash get_item gave for the version the owner was shown.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  2. First observed

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, openWorldHint=true, and idempotentHint=false, but the description adds what those hints actually mean here: real external side effects (publication, customer email, website change) and an authorization constraint that only the business owner's connection can perform it. It does not say what happens if the contentHash is stale or whether an executed action can be undone, which keeps it short of a 5.

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

Conciseness5/5

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

Front-loads the action and its real-world consequence in the first clause, then layers the precondition and authorization note. Three sentences, none of them filler, and the most decision-relevant information (this executes something) comes first.

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

Completeness4/5

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

For a two-parameter, non-idempotent, destructive action with no output schema, the description supplies the preconditions, consent requirement, external effects, and auth constraint an agent needs. The only gap is failure behavior — what a stale or missing contentHash produces — which matters for a version-checked approval.

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 coverage is 100%, so both parameters are already documented, and the description largely restates that id and contentHash come from sibling tools. It does add purpose to contentHash — binding the approval to the exact version the owner was shown — but that framing is also present in the schema text, so the marginal value is modest.

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?

Names a specific verb (approve) and resource (one item prepared by the AI team), and immediately clarifies that approval executes the action, enumerating concrete outcomes: publishing a post, emailing a customer, changing the owner's website. That makes the approve-vs-reject distinction and the approve-vs-get_item distinction obvious without opening any schema.

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 an explicit prerequisite sequence: read with get_item, show the owner the content, then call only after they have clearly said to approve, passing the contentHash from get_item. It states both when to call and the gating condition, and implicitly excludes calling before review or without consent.

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