Skip to main content
Glama

add_evidence_record

Attach test runs, CI runs, diffs, review verdicts, screenshots by URL, or notes to a thread with their source, creating traceable evidence without moving the thread's version.

Instructions

Record evidence on a thread: a test_run, ci_run, diff, review_verdict, screenshot (by URL) or note, with where it came from. Give at least one of url, sha256 or note; a screenshot needs a url and a note needs a note. Publishes evidence_added. Does not move the thread's version. Requires workspace:write.

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": {
      "thread_id": "<thread_id>",
      "kind": "<kind>",
      "source": "<source>"
    },
    "name": "add_evidence_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoan http or https URL
kindYes
noteNoat most 4000 characters
sha256Noa sha256, 64 hex characters
sourceYeswhere the evidence came from, 1 to 200 characters
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the side effect ("Publishes evidence_added"), the permission prerequisite ("Requires workspace:write"), and the explicit non-effect ("Does not move the thread's version"). Combined with the annotations' non-destructive, non-idempotent flags, an agent has the full mutation profile, including what downstream observers will see.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Front-loads the action and its kinds, then the payload rules, then the side effects and permission gate. Every sentence carries distinct information; nothing restates the title or the name.

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 6-parameter write tool with no output schema, the description covers purpose, required payload combinations, event emission, version neutrality, and the workspace:write gate. An agent could invoke this correctly on the first attempt without opening 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?

Adds genuine cross-parameter logic the schema cannot express: "Give at least one of url, sha256 or note", plus the kind-specific requirements (a screenshot needs a url, a note needs a note). The remaining gap is that it doesn't characterize source beyond "where it came from", which the schema already states, and the 4000-char / 200-char bounds live only in the schema.

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?

States a specific verb and resource ("Record evidence on a thread") and enumerates the exact evidence kinds it accepts, which immediately separates it from list_evidence_records and the other add_* siblings. An agent knows from the first clause what this tool produces (an evidence record) and where it lands (on a thread).

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?

Gives clear context for use: choose one of six kinds, supply provenance via source, and satisfy the conditional payload rules. It also sets a boundary ("Does not move the thread's version"), which implicitly steers version-changing work elsewhere, but it never names an alternative tool for that case, so it stops short of explicit when-not/alternatives guidance.

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

Deploy Server

Other Tools