Skip to main content
Glama

Approve a draft

approve_item
Idempotent

Record the owner's yes to one waiting draft (an id from approvals_waiting). Only call this when the person asked for this item to be approved. After a yes, GrowthDept takes it from there as the owner's settings allow. Refuses an unfinished draft.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe draft's id.
person_askedYesSet true only when the person asked, in this conversation, for this exact item to be decided. Never set it on your own judgement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), it discloses a precondition — "Refuses an unfinished draft" — and the downstream consequence that GrowthDept proceeds subject to the owner's settings. It does not say whether an approval can be undone, which is the main remaining behavioral gap for a committing action.

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?

Three short sentences, front-loaded with the action and the id source, followed by the permission gate and the refusal condition. No sentence is filler.

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, no-output-schema tool this covers action, prerequisite, authorization rule, and what happens next. Only the reversibility of an approval is left unstated, a minor omission given the compact surface.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: the id must come from approvals_waiting and the gate for person_asked is restated as a hard rule. This helps an agent source the id correctly rather than invent one.

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: "Record the owner's yes to one waiting draft," and pins the id source to the sibling tool approvals_waiting. An agent can distinguish this from reject_item or approvals_waiting without opening a schema.

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

Usage Guidelines4/5

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

"Only call this when the person asked for this item to be approved" gives an explicit when-to-use gate, and the id parenthetical points at approvals_waiting as the discovery step. It does not explicitly name reject_item as the alternative when the answer is no, so the routing is clear but not complete.

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