Skip to main content
Glama

review_work

Idempotent

Before you tell the user that a task which changed files, or ran a commit, push, release, deploy, migration or deletion, is done, call review_work with the original request, the diff excerpts and the test output you observed; if review_work is unavailable or fails, say plainly that no Mind Upload review ran. It asks the owner's Mind Upload consciousness to review the work against the original request, the evidence you supply, and the rules and past mistakes it remembers. Supply the original request, the actual result or diff excerpts, and the verification output you observed; it cannot read files or run tests, so a claim that tests passed is not evidence. Share screenshots, recordings or audio of the result as evidence files (evidence_files, or share_evidence and then evidence_ids), not inside the evidence text. user_request, work and evidence share one size limit with the review instructions the connector adds: about 6,400 characters together after JSON escaping, less with media links. An oversized call is refused before anything is sent. On success it returns review, findings by severity in the language of the user request, naming what it finds missing or wrong, and consciousness, naming who answered, plus the analysis status of each evidence file or media link. That reply is an opinion, not approval: investigate each finding, fix what is real, and review the changed work under a new review_id. Call it once per finished task, and again after material fixes.

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": {
      "user_request": "<user_request>",
      "work": "<work>",
      "evidence": "<evidence>",
      "task_id": "<task_id>",
      "review_id": "<review_id>"
    },
    "name": "review_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
workYesWhat you actually changed or produced: focused result or diff excerpts and the scope you claim. Shares one size limit with user_request and evidence.
learnNoTrue only when the owner wants their mind to learn from this exchange. Needs the owner's learning permission; what it learns waits for the owner's review unless they auto-keep. Not with evidence files.
phaseNocompletion before reporting the task done; plan or progress only at a risky checkpoint.completion
task_idYesStable identifier for the whole task. Reuse it across consult_mind and review_work so later calls include earlier exchanges.
clone_idNoOnly when the owner approved several consciousnesses: the clone_id the owner chose.
evidenceYesVerification you observed: commands with their output, observations and known limitations. Paste output; a statement that tests passed is not evidence. Redact secrets first. Shares one size limit with user_request and work.
review_idYesNew for each changed version of the work or evidence; reuse the same value only to retry an identical call.
evidence_idsNoIds from share_evidence whose files you uploaded; the consciousness reads their analysis. Not with media_evidence or learn.
user_requestYesThe user's original request and acceptance criteria, in their words where possible. Shares one size limit with work and evidence.
media_evidenceNoOptional HTTPS links the user authorized to screenshots, audio or video of the result. Not with evidence files in one call. The reply's media_analysis says whether each link was analyzed, refused or failed.

Output Schema

NameRequiredDescriptionDefault
reviewNo
statusYes
decisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / evidence / description
      Added value: +"Verification you observed: commands with their output, observations and known limitations. Paste output; a statement that tests passed is not evidence. Redact secrets first. Shares one size limit with user_request and work."
    • changedInput schema / properties / evidence_ids / description
      Previous value: -"Ids from share_evidence whose files you uploaded; the consciousness reads their analysis."New value: +"Ids from share_evidence whose files you uploaded; the consciousness reads their analysis. Not with media_evidence or learn."
    • changedInput schema / properties / learn / description
      Previous value: -"Let the consciousness learn from this exchange (needs the owner's \"learn\" permission; not with evidence)."New value: +"True only when the owner wants their mind to learn from this exchange. Needs the owner's learning permission; what it learns waits for the owner's review unless they auto-keep. Not with evidence files."
    • addedInput schema / properties / media_evidence / description
      Added value: +"Optional HTTPS links the user authorized to screenshots, audio or video of the result. Not with evidence files in one call. The reply's media_analysis says whether each link was analyzed, refused or failed."
    • addedInput schema / properties / phase / description
      Added value: +"completion before reporting the task done; plan or progress only at a risky checkpoint."
    • addedInput schema / properties / review_id / description
      Added value: +"New for each changed version of the work or evidence; reuse the same value only to retry an identical call."
    • addedInput schema / properties / task_id / description
      Added value: +"Stable identifier for the whole task. Reuse it across consult_mind and review_work so later calls include earlier exchanges."
    • addedInput schema / properties / user_request / description
      Added value: +"The user's original request and acceptance criteria, in their words where possible. Shares one size limit with work and evidence."
    • addedInput schema / properties / work / description
      Added value: +"What you actually changed or produced: focused result or diff excerpts and the scope you claim. Shares one size limit with user_request and evidence."
  2. Changed2 schema fields changed
    • addedInput schema / properties / evidence_ids
      Added value: +{
      +  "description": "Ids from share_evidence whose files you uploaded; the consciousness reads their analysis.",
      +  "items": {
      +    "maxLength": 256,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / learn
      Added value: +{
      +  "description": "Let the consciousness learn from this exchange (needs the owner's \"learn\" permission; not with evidence).",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false, and the description adds substantial context beyond that: a ~6,400-character shared size limit across user_request/work/evidence, refusal before anything is sent when oversized, the tool's inability to read files or run tests, the fact that learn requires the owner's learning permission and awaits owner review, and that the reply is an opinion rather than approval requiring re-review under a new review_id. It does not explicitly restate the external-transmission/open-world nature, but the call-out to 'ask the owner's consciousness' plus the size/refusal behavior effectively conveys it.

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?

The trigger is front-loaded in the first clause, and the sequence moves logically from when to call, to what to supply, to limits, to what comes back, to what to do with the reply. It is dense but nearly every sentence carries operational information; the main redundancy is restating 'a claim that tests passed is not evidence' in both the prose and the evidence parameter description.

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

Completeness5/5

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

For a 10-parameter, externally-transmitting review tool with an output schema, the description covers the trigger, required evidence quality, size ceiling and refusal behavior, failure handling, evidence routing, output shape (review, findings by severity, consciousness, analysis status) and the follow-up loop. An agent can invoke it correctly and interpret the reply without consulting anything else.

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 already 100%, so the baseline is 3, but the description adds genuinely new cross-parameter meaning: user_request, work and evidence share one size limit with the connector's instructions, and media must go in evidence_files/evidence_ids rather than inside evidence text. Minor naming friction exists ('evidence_files' vs the schema's evidence_ids and media_evidence arrays), but the routing between evidence text, evidence_ids and media_evidence is explained.

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 states a specific verb and resource — it asks the owner's Mind Upload consciousness to review the work against the original request, the evidence supplied, and remembered rules and past mistakes — and the opening sentence names the exact triggering situations (changed files, commit, push, release, deploy, migration, deletion). It is clearly distinguishable from siblings such as share_evidence, which it references explicitly as an upstream step.

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 an explicit when-to-use trigger (before telling the user a file-changing task is done), an explicit fallback (if unavailable or failed, say plainly that no Mind Upload review ran), an explicit cadence (once per finished task, again after material fixes), and a routing instruction to share_evidence for media before calling. It also defines when to use non-default phase values (plan/progress only at a risky checkpoint).

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.