Skip to main content
Glama

Answer a finding

answer_finding
Destructive

Answer a finding once per review (free): 'won't fix here' or why it is intended. MergeSafe judges the reply and withdraws the finding, keeps it at P3, or notes it; get_session_findings shows the verdict. For a fix, just review_local again: the next review re-checks the file.

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": {
      "repo": "<repo>",
      "session_id": "<session_id>",
      "finding_id": "<finding_id>",
      "reply": "<reply>"
    },
    "name": "answer_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe session's repository, "owner/name".
replyYesWhy it is intended, or why it will not be fixed here.
finding_idYesThe finding's id, from get_session_findings.
session_idYesThe session_id start_session returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only flag readOnlyHint=false and destructiveHint=true; the description adds real context beyond them: the call is free, it is allowed once per review, and the reply triggers one of three outcomes (withdraw the finding, keep it at P3, or note it). It does not spell out permissions or what a 'note' looks like on the finding record, which keeps it short of a 5.

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 sentences, front-loaded with the action and the once-per-review/free constraints before the outcome detail. The parenthetical '(free)' and the quoted reply fragment are slightly terse 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?

With no output schema, the description carries the burden of explaining results and does so by listing the three verdict outcomes and routing to get_session_findings. Complete enough to invoke correctly, though the distinction between 'keeps it at P3' and 'notes it' is not fully defined.

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 all four parameters are already documented, including reply's max length and the origin of finding_id and session_id. The description only restates the intended content of reply in prose, adding little beyond the schema's own wording.

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 (answer) and resource (a finding), plus the two acceptable reply kinds ('won't fix here' or why it is intended). It also draws the boundary against the sibling review_local for the fix case, so an agent can pick correctly 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 Guidelines5/5

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

Gives explicit when-to-use ('won't fix here' or intended) and an explicit when-not-to-use with the alternative named: 'For a fix, just review_local again'. It also names get_session_findings as the way to read the verdict and states the once-per-review limit.

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.