Skip to main content
Glama

Accept a review suggestion

accept_suggestion
DestructiveIdempotent

Atomically apply an existing review suggestion to the document and mark it accepted. Use the exact suggestionId and targetId returned by add_suggestion or list_review_threads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetIdNo
articleIdNoInternal document identifier when already available. Omit it when the user referred to the document by title.
commandIdYesGlobally unique UUID for this logical review mutation. Generate it once and reuse the exact value if the tool call is retried.
workspaceIdNoInternal workspace identifier when already available. Omit it when the user referred to a workspace by name or has only one workspace.
articleTitleNoHuman-visible document title. Prefer this over asking the user for an internal document identifier.
suggestionIdYes
workspaceNameNoHuman-visible workspace name. Prefer this over asking the user for an internal workspace identifier.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsYes
appliedYes
articleIdYes
commandIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / commandId / description
      Added value: +"Globally unique UUID for this logical review mutation. Generate it once and reuse the exact value if the tool call is retried."
    • addedInput schema / properties / commandId / format
      Added value: +"uuid"
    • removedInput schema / properties / commandId / minLength
      Removed value: -1
    • addedInput schema / properties / commandId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedInput schema / required
      Previous value: -[
      -  "suggestionId"
      -]New value: +[
      +  "suggestionId",
      +  "commandId"
      +]
  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 and idempotentHint=true. The description adds the atomicity behavior ('Atomically apply') and the idempotency-relevant instruction to reuse the commandId on retry, which is valuable context beyond the annotations. It doesn't mention permissions or reversibility, but the atomicity and idempotency details are meaningful.

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?

Two sentences with no filler. The first sentence states the action and atomicity, the second gives the critical usage instruction about which IDs to use. Every word earns its place.

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?

The tool has an output schema, so return values are covered. The description covers the core behavior, atomicity, and ID sourcing. It doesn't mention what happens if the suggestion is already accepted or if the IDs are stale, but for a mutation tool with annotations covering destructive/idempotent hints, this is adequate.

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 description coverage is 71%, so the schema documents most parameters. The description adds meaning by telling the agent to use exact IDs from add_suggestion or list_review_threads, and the commandId description in the schema already explains idempotent retry. The description doesn't need to repeat all parameter details, but it does add value for the key IDs.

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?

The description clearly states the tool's action: 'Atomically apply an existing review suggestion to the document and mark it accepted.' It specifies the resource (review suggestion) and the effect (apply and mark accepted), and distinguishes it from siblings like reject_suggestion by naming the exact IDs to use.

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?

The description gives explicit guidance on which identifiers to use ('Use the exact suggestionId and targetId returned by add_suggestion or list_review_threads'), which is a clear usage instruction. It doesn't explicitly state when not to use this tool or name alternatives like reject_suggestion, but the context is clear enough for an agent to select it.

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