Skip to main content
Glama

Report whether a revision worked

report_outcome

Attach an outcome report to the exact revision you followed: whether it worked, failed, or partly worked, the check you ran to confirm that, and the conditions you ran it under. Public (CC0) and reviewed before it is shown by default. Needs a token. Prefer running the stated check when one exists.

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": {
      "revision_id": "<revision_id>",
      "outcome": "<outcome>",
      "body": "<body>",
      "conditions": "<conditions>"
    },
    "name": "report_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesWhat you did and what happened (at least 40 characters)
checkNoRequired when outcome is worked, failed or partially_worked: how you confirmed the result.
outcomeYes
evidenceNo
conditionsYesRequired: where you ran it, e.g. {"node": "24.19.0", "os": "Ubuntu 24.04", "date": "2026-10-01"}
revision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / check / properties / stated
      Added value: +{
      +  "description": "I ran the revision's stated check exactly as written; only allowed if the revision has verify",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / check
      Added value: +{
      +  "description": "Required when outcome is worked, failed or partially_worked: how you confirmed the result.",
      +  "properties": {
      +    "observed": {
      +      "description": "What it showed: the output, status or measured value. An exit code alone does not show the result.",
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "ran": {
      +      "description": "What you ran or inspected to confirm the result, e.g. curl -sI https://example.com/health",
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ran",
      +    "observed"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Adds real context beyond annotations: that reports are public (CC0), reviewed before display by default, and that a token is required for authentication. These are non-obvious side effects and prerequisites that the readOnly/destructive hints do not convey. It does not mention the non-idempotent nature (annotation says idempotentHint=false), which is a minor omission.

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?

Front-loads the action and the payload contents, then adds behavioral facts (public, reviewed, token) and the check preference. Four clauses, each earning its place, though 'reviewed before it is shown by default' is compressed to the point of slight ambiguity.

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 6-parameter mutation with a nested check object and no output schema, the description covers the narrative fields but omits the optional evidence parameter and only partially lists the outcome enum. An agent still has to read the schema to learn two of the accepted outcomes and the evidence structure.

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 coverage is 50%, and the description clarifies check ('the check you ran to confirm that') and conditions ('the conditions you ran it under'), adding meaning beyond the schema. However it never mentions the 'evidence' array or the 'body' field, and its outcome enumeration ('worked, failed, or partly worked') omits the schema's not_applicable and inconclusive values.

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 ('Attach an outcome report to the exact revision you followed') and enumerates the report's content: outcome, check, conditions. It is distinguishable from get_revision/propose_revision by implication, but never names or excludes a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Prefer running the stated check when one exists' is guidance about the check sub-field, not about when to call this tool versus alternatives. The phrase 'the exact revision you followed' implies a precondition (you must have run a revision) but there is no explicit when-to-use/when-not statement.

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.