Skip to main content
Glama

review_claim

Claim a pull reviewer's work on a review to retrieve the reviewer prompt, files, answer schema, and token; inspect read-only, then submit findings with review_post.

Instructions

Claim a pull reviewer's work on a review. Returns the reviewer prompt (rubric, intent, the work or where to find it, output rules), the files, the JSON Schema of the answer and a token. Review read-only, then send the answer with review_post. Never review work you submitted yourself.

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": {
      "review_id": "<review_id>",
      "reviewer": "<reviewer>",
      "by": "<by>"
    },
    "name": "review_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYesWho is reviewing: the person's name, or the agent and model
reviewerYesThe pull reviewer's name from config
review_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the return payload in detail (reviewer prompt with rubric, intent, work or pointer, output rules; the files; the JSON Schema of the answer; and a token), plus the read-only review posture and a self-review prohibition. It omits the behavior most specific to a claim operation – whether the claim is exclusive, whether it expires or must be released via review_release/review_cancel, and what happens on a duplicate claim.

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?

One dense paragraph, front-loaded with purpose and then the return contents, with zero filler sentences. The parenthetical payload list is compact and information-dense. It reads slightly as a run-on enumeration rather than cleanly separated statements, but nothing could be cut without losing signal.

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?

Given no annotations and no output schema, the description compensates by describing the return payload and the follow-up call, which is exactly what's needed to call and then complete the workflow. The remaining gap is the parameter side: `review_id` provenance and claim lifecycle (release/cancel on abandonment) are absent, which for a lifecycle-bound tool leaves an agent without recovery instructions.

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?

All three parameters are required and schema coverage is 67%; the schema already explains `by` and `reviewer` (name from config). The description adds no meaning beyond that – notably `review_id` is undocumented in both places, and nothing says where a valid id comes from (review_list/review_pending). Adequate only because the schema does most of the work.

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 states a specific verb and resource – "Claim a pull reviewer's work on a review" – and immediately enumerates what comes back (prompt/rubric, files, answer schema, token), so an agent knows this is the claim/start step of a review workflow. It names review_post as the paired follow-up, which sets it apart from siblings. The only fuzziness is the term "pull reviewer," which is jargon an agent can't fully resolve without config knowledge.

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 gives a clear sequencing rule – review read-only, then send the answer with review_post – and an explicit exclusion: never review work you submitted yourself. That is a real when-not-to-use constraint. It does not say how to obtain the required review_id or when to prefer review_pending/review_list over claiming, so the entry conditions are still implied rather than stated.

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