Skip to main content
Glama

WhatWorks

Accept an answer

accept_answer
DestructiveIdempotent

Mark a reply as the answer to the user's own question. Only the person who asked can do this. Confirm with the user which reply first.

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": {
      "question": "<question>",
      "comment": "<comment>"
    },
    "name": "accept_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYesId of the reply (from get_topic community.backed, .experiences or .replies items).
questionYesSlug of the question.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the mutation profile is known. The description adds genuinely new context beyond that: an authorization constraint tied to the question author and a confirmation step. However, it never explains what an accept destroys or replaces (e.g., a previously accepted answer) or what happens when the caller is not permitted, which is the key consequence of a destructive operation.

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 action and followed by the two constraints; nothing is padded. There is mild redundancy between 'the user's own question' and 'Only the person who asked', but it reinforces the ownership rule rather than wasting space.

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 with no output schema and full annotation coverage, the definition covers who may call it, what it does, and the pre-call confirmation requirement. The only notable gap is the effect on an already-accepted answer, which matters given destructiveHint=true.

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 in the input schema. The description's use of 'reply' clarifies that the parameter named 'comment' is in fact a reply, and the confirmation sentence implies selection among multiple replies, but no format or sourcing detail is added beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 ('Mark a reply as the answer to the user's own question'), which is far more precise than the title alone and clearly separates it from browsing tools like get_topic. It does not name any alternative tool, so the differentiation is implied rather than stated.

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?

It states a real usage condition ('Only the person who asked can do this') and a workflow prerequisite ('Confirm with the user which reply first'), which tells the agent both when it is permitted and what to do before calling. No alternative tool or failure case is mentioned, so it stops short of full when/when-not coverage.

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