Skip to main content
Glama

review_file

Reads the file from a claimed review (screenshot, document, or patch) so reviewers on another machine can inspect it, using the claim token and file path.

Instructions

Read a file of the work you claimed (a screenshot as an image, the document or patch as text), for pull reviewers on another machine. path is one of snapshot_files from review_claim. Needs the claim's 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": {
      "review_id": "<review_id>",
      "reviewer": "<reviewer>",
      "token": "<token>",
      "path": "<path>"
    },
    "name": "review_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
tokenYes
reviewerYes
review_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose useful traits: the auth requirement ('Needs the claim's token'), the cross-machine access model, and that the return modality varies (image for screenshots, text for documents/patches). It does not say whether reading consumes or invalidates the claim, how missing/expired tokens fail, or whether there are size limits, leaving the mutation and error profile undocumented.

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?

Two dense sentences with no filler, and the core action plus scope is front-loaded before the prerequisite details. The phrasing 'Read a file of the work you claimed' is slightly awkward but costs little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-required-parameter read tool with no output schema, the definition covers purpose, prerequisite, auth, and return modality, which is a reasonable baseline. It is not complete because two of four parameters are undocumented and the failure modes of a stale or mismatched token are unaddressed.

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 0% across four required parameters, so the description must compensate. It does add genuine meaning for two of them, explaining that path comes from review_claim's snapshot_files and that token is the claim's token. However, review_id and reviewer are left entirely undefined in both schema and description, so half the required inputs remain opaque.

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?

States a specific verb and resource ('Read a file of the work you claimed') plus the access context ('for pull reviewers on another machine'), which is far more informative than the bare name review_file. It also implicitly distinguishes itself from review_claim by framing the claim as a prerequisite rather than the action. It stops short of naming which sibling to use instead when no claim exists.

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 prerequisite chain is spelled out: you must have claimed work, the token must come from that claim, and path must be one of snapshot_files from review_claim. That gives an agent a clear precondition for invocation. It does not state exclusions or failure behavior when the claim is missing or expired, so it falls short of full when/when-not guidance.

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