Skip to main content
Glama

reject_draft

Destructive

Reject a pending or approved draft so it can never be posted. Optional reason is stored for the submitting engine to read back via list_drafts. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "reject_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it was rejected; stored so the submitting engine can learn from it.
draft_idYesDraft id from list_drafts or list_approvals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / draft_id / description
      Added value: +"Draft id from list_drafts or list_approvals."
    • addedInput schema / properties / reason / description
      Added value: +"Why it was rejected; stored so the submitting engine can learn from it."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the mutation profile is known. The description does add real context beyond that: rejection is terminal ('never be posted'), the reason is persisted and readable back through list_drafts, and the capability note clarifies it is safe for a draft-only token. It still says nothing about whether rejecting an already-rejected draft errors or is a no-op, which matters given idempotentHint=false.

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 sentences, front-loaded with the outcome, followed by parameter context and capability scope. The 'CAPABILITY:' framing is slightly jargon-heavy but each sentence carries distinct information.

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 mutation tool with full schema coverage and rich annotations, the description covers effect, persistence of the reason, and the token-safety scope. The only meaningful gap is the behavior on a repeat rejection, which an agent could plausibly encounter.

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 both parameters are already documented in the schema, including that reason is stored for the submitting engine. The description only restates 'Optional reason' and the list_drafts provenance of draft_id, adding no new syntax, format, or constraint information.

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 gives a specific verb and resource ('Reject a pending or approved draft') plus the resulting state ('so it can never be posted'), which an agent can immediately distinguish from approve_draft or edit_article_draft. It stops short of naming any sibling explicitly, so it is clear but not maximally differentiating.

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?

Usage is implied by the phrase 'pending or approved draft', which usefully widens the eligible state set beyond just pending. However, there is no explicit when-not guidance, no mention of what to do instead (e.g., edit or approve), and no stated preconditions such as required role.

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.