Skip to main content
Glama

Get Evidence Bundle

get_evidence_bundle
Read-onlyIdempotent

Retrieve retained evidence records and residual unknowns as a canonical bundle, or use summary/records/links views to inspect coverage without transferring large payloads.

Instructions

Return every retained Evidence record and residual unknown as a complete canonical bundle by default. detail=summary discovers retained records without copying or transferring their payloads; optionally filter by exact Evidence ID, operation, target SHA-256, analysis-profile digest or canonical native procedure address. Metadata distinguishes complete record retention from native value-flow truncation or unavailable/unknown coverage. detail=records returns a page (offset, limit) of the matching complete records with unchanged IDs and their missing direct evidence_links; it is not an importable bundle. detail=links reads which evidence_links of the selected records this session or bundle retains, without their payloads: traversal retained-closure also follows retained links, the walk composed workflows require, and rows default to missing links. For supported parent operations, use a discovered evidence_id with a compatible inspect_analysis_view without restarting a provider. Filters apply to summary, records and links delivery. Call with detail: summary first; the complete bundle can be very large.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_evidence_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
detailNocomplete (default) returns every record inline and can be very large; summary lists retained records without payloads — call it first; records pages complete matching records (offset, limit); links reads which evidence_links are retained
offsetNo
filtersNo
traversalNo
link_statusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds real behavioral context: the default complete bundle 'can be very large,' records returns only a page and 'is not an importable bundle,' links returns retention state without payloads, and metadata flags truncation versus unavailable coverage. These are costs and output-shape caveats an agent could not get from the annotations.

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 intent is front-loaded, but the body is a single dense run-on with long parenthetical clauses ('the walk composed workflows require' is barely parseable) and repeated restatement of detail modes already in the schema. It is informative but not efficiently structured.

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 a six-parameter tool with a nested filter object and three enums, the description covers modes, filter applicability, paging, and link defaults, and an output schema exists so return values need not be spelled out. Gaps remain around defaults for offset/traversal and the meaning of 'residual unknown,' but nothing essential to a correct call is missing.

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?

With only 17% schema description coverage, the description carries most of the burden and does so: it explains each detail value, lists the exact filter fields (evidence ID, operation, target SHA-256, analysis-profile digest, procedure address), explains retained-closure traversal, and notes link_status rows 'default to missing links.' Paging is only described as 'a page (offset, limit)' and the offset default and traversal default are unstated, keeping it short of a 5.

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: 'Return every retained Evidence record and residual unknown as a complete canonical bundle by default,' and the detail modes further scope what is returned. It distinguishes 'records' from an importable bundle, hinting at the export_evidence_bundle sibling without naming it, so an agent can mostly tell it apart but must infer the export alternative.

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 explicit sequencing ('Call with detail: summary first; the complete bundle can be very large') and a concrete cross-tool workflow ('use a discovered evidence_id with a compatible inspect_analysis_view without restarting a provider'). It also states which modes filters apply to, but never explicitly names when to prefer export_evidence_bundle over this tool.

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