Skip to main content
Glama

Approve follow-up email

approve_followup
Idempotent

Approves a reviewed follow-up draft for one registrant so it can be sent; an expected updated timestamp rejects drafts changed since review. Admin key required.

Instructions

Approve the follow-up draft of one registrant so send_followup may send it. Admin keys only: a write key gets insufficient_scope, so an agent cannot approve its own drafts. Only call this when the user read the draft and said to approve it. Pass expected_updated_at (the draft's updated_at you showed) to refuse a draft that changed since (conflict).

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": {
      "registration_id": "<registration_id>"
    },
    "name": "approve_followup"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue: validate and show what would happen without changing anything
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice
registration_idYesRegistration id (UUID) from get_call_list or list_registrants
expected_updated_atNoISO 8601 updated_at of the draft as the user saw it

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare idempotentHint, so the description carries most of the burden and does well: it discloses the admin-key requirement, the insufficient_scope failure mode for write keys, the self-approval prohibition, and the conflict behavior tied to expected_updated_at. It does not mention rate limits or what a successful approval returns, though the output schema covers the return value.

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 tight sentences in priority order: what it does, who may call it, when to call it, then the concurrency guard. No filler, and the permission constraint is stated before the calling condition.

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?

A mutation tool with an output schema and fully documented parameters gets everything it needs: purpose, authorization, precondition, and conflict handling. Nothing required to call it correctly is missing.

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; the description still adds real meaning by explaining that expected_updated_at is the draft's updated_at as the user saw it and that a mismatch produces a conflict. It says nothing extra about dry_run or idempotency_key, which the schema already documents thoroughly.

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 (approve) and resource (the follow-up draft of one registrant) and explains the outcome by relating it to the sibling send_followup. An agent can distinguish it from draft_followup and send_followup from the text alone.

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 gating condition: only call it when the user has read the draft and said to approve it, and states that an agent cannot approve its own drafts. It also names the downstream tool (send_followup) whose use depends on this call, so the sequencing is unambiguous.

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