Skip to main content
Glama

Claim a done-when is met

claim_done

Record that you believe one of a job's done-when clauses is now met, with your evidence. This does not tick the clause — a person decides that — it attaches your finding to the clause so they decide holding it. Say what you actually checked, and start there: where the job has a pull request, the claim is recorded against its newest commit and shown with it, so name neither. Where the clause is about what a screen shows, name the screenshots you took by their captions: the answer gives a link for each, and you send each file once from your shell. A clause a number or a command proves gets none. An agent here reads each claim a few minutes later, and get_job says what it found: where it doesn't hold up, answer that with a new claim.

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": {
      "project": "<project>",
      "job": "<job>",
      "clause": "<clause>",
      "evidence": "<evidence>"
    },
    "name": "claim_done"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesThe job's key, e.g. BREW-12.
clauseYesThe clause's text, or enough of its beginning to identify it uniquely.
projectYesThe project's key, e.g. BREW.
evidenceYesWhat you checked and what you found. This is the evidence a person reads before deciding.
screenshotsNoOptional, at most 6: one caption per screenshot you will send, saying what it shows. Only where the clause is about what a screen shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / job / description
      Previous value: -"The job's key, e.g. FLAIR-12."New value: +"The job's key, e.g. BREW-12."
    • changedInput schema / properties / project / description
      Previous value: -"The project's key, e.g. FLAIR."New value: +"The project's key, e.g. BREW."
  2. Changed1 schema field changed
    • addedInput schema / properties / screenshots
      Added value: +{
      +  "default": null,
      +  "description": "Optional, at most 6: one caption per screenshot you will send, saying what it shows. Only where the clause is about what a screen shows.",
      +  "items": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent write; the description adds what actually happens: the claim is attached rather than approved, a human decides, an agent reviews each claim minutes later, and the claim is bound to the newest commit of the pull request and displayed with it. That is substantive behavior an agent could not infer from the annotations, and it does not contradict them.

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?

Purpose is front-loaded in the first clause and no sentence is filler, but the middle is dense with conditionals and some phrasing is strained ("so they decide holding it", "A clause a number or a command proves gets none"). A short bulleted split of the three evidence cases would read faster without losing content.

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?

There is no output schema, and the description compensates by saying the answer returns a link per screenshot and that get_job surfaces the reviewer's finding later. Combined with full parameter coverage and the explicit non-approval semantics, an agent has everything needed to call this correctly and interpret the outcome.

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 100%, so baseline would be 3, but the description adds real meaning the schema does not carry: evidence should say what was actually checked and must not name the commit, and screenshot captions are the handle by which files are linked and sent once from the shell. It stops short of explaining the clause-identification matching rule, which is the remaining ambiguity.

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?

"Record that you believe one of a job's done-when clauses is now met, with your evidence" names a specific verb (record), a specific resource (a done-when clause of a job), and immediately disambiguates it from approval by stating it does not tick the clause. An agent can tell this apart from get_job or file_result without opening any other 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?

It states the trigger (you believe a clause is met) and then gives per-case instructions: name nothing where a pull request exists, name screenshots by caption where the clause is about what a screen shows, and send nothing where a number or command proves it. It also closes the loop by pointing at get_job for the reviewer's finding and instructing a new claim where the finding doesn't hold up.

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.