Skip to main content
Glama

review_submit

Submit documents, git changes, or web pages for cross-vendor agent review against a rubric; get a review ID and results.

Instructions

Submit work for review by other agents: a document (.md, .txt, .docx, .pdf), a git change ({git: {repo, mode}}), and/or web pages to render and screenshot (pages: URLs, for example a local dev server). Reviewers run read-only on a frozen snapshot. Returns review_id and state; returns the full result if the round finishes within wait_seconds (capped at max_wait_seconds, default 50, to stay under client timeouts; clients that show progress, like Claude Code, can wait up to max_wait_with_progress_seconds, default 900: pass wait_seconds 900 to get the finished review in one call). Otherwise poll review_wait until state is not in_review. Called as an MCP task, it returns at once and the task completes with the result when the round finishes, or when only pull reviewers are left (waiting_for_pull: check back later with review_status).

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": {
      "rubric": "<rubric>",
      "intent": "<intent>"
    },
    "name": "review_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNohttp(s) URLs to render at desktop and mobile width and screenshot, e.g. http://localhost:4321/ (start the dev server first)
stageNopre-merge
intentYesWhat the work is meant to achieve, in one or two sentences
rubricYesRubric name, e.g. proposal
relatedNoDocuments to compare against, not under review (for example the accepted proposal when reviewing a contract, or the sources behind a post): paths, or {name, content} as text
artifactNoAbsolute path to a document on the machine review-bus runs on; or the document as text, {"name": "post.md", "content": "..."} (.md or .txt, for clients whose files are elsewhere, like a chat or a sandbox); or {"git": {"repo": "/path", "mode": "uncommitted" | "base" | "commit", "base"?: "main", "commit"?: "sha"}}. Optional when pages are given.
criteriaNo
reviewersNoReviewer names from config, or {name, model, effort} to override. Empty uses default_reviewers from a different vendor than the author.
assumptionsNo
wait_secondsNoSeconds to wait for the result; the server caps it (see the tool description)
author_vendorNoYour vendor (anthropic, openai, other). Detected from the MCP client when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does substantial work: reviewers run read-only against a frozen snapshot, the call returns review_id and state, and the full result is only returned if the round finishes in time. It also discloses the MCP-task mode (returns at once, completes asynchronously) and the waiting_for_pull terminal condition. Gaps remain around permissions/config prerequisites and failure modes, which keeps it off 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and information density is high, but the wait_seconds sentence is a single sprawling construction with multiple nested parentheticals that is hard to parse on first read. The final MCP-task sentence packs several distinct behaviors into one breath. Nearly every clause carries information, but the structure works against quick scanning.

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 an 11-parameter, no-output-schema, no-annotation tool, the description covers the highest-risk unknowns: what gets reviewed, that reviewers are read-only on a snapshot, and how the synchronous/asynchronous return paths differ. Remaining gaps are mostly around the non-artifact parameters (rubric, intent, criteria, reviewers) and auth/config expectations, which the schema partially documents.

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 coverage is 73%, so the baseline is 3, but the description adds meaning the schema does not: it clarifies the artifact forms and their accepted extensions, that pages may be a local dev server, and that artifact is optional when pages are given. It also supplies concrete wait_seconds cap values (default 50, up to 900 with progress) that the schema only alludes to as 'see the tool description'. It says nothing about rubric, intent, criteria, stage, assumptions, reviewers, or author_vendor, so it is not fully compensating.

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 opens with a specific verb and resource ('Submit work for review by other agents') and immediately enumerates the accepted artifact forms: documents, git changes, and rendered web pages. It also distinguishes itself from siblings by naming review_wait and review_status as the follow-up tools, so an agent can tell submit apart from poll/status without inspecting other definitions.

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?

It states explicit routing rules: wait inline up to the cap, otherwise poll review_wait until state is not in_review, and check back via review_status when only pull reviewers remain. It also conditions the wait_seconds value on client capability (progress-capable clients like Claude Code can pass 900), which is actionable when-to-use guidance rather than a restatement of the schema.

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