Skip to main content
Glama

Export Evidence Bundle

export_evidence_bundle
DestructiveIdempotent

Writes a session's deterministic Evidence bundle atomically to a local path, using canonical byte-stable ordering for records and manifests; set overwrite to replace existing files.

Instructions

Atomically write the session's deterministic Evidence bundle to the requested local path. Existing files require overwrite: true; records and manifests use canonical byte-stable ordering.

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": {
      "path": "<path>"
    },
    "name": "export_evidence_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute local filesystem path for the exported evidence bundle; relative paths are rejected.
overwriteNoWhether an existing destination may be replaced.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the description is not carrying the safety burden alone. It still adds genuine context beyond them: the write is atomic, pre-existing files are gated behind overwrite: true, and output ordering is canonical/byte-stable, which matters for reproducible exports. It does not say what happens to an existing file's prior contents beyond replacement, but that is largely covered by destructiveHint.

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?

Two short sentences, front-loaded with the action and destination, then the overwrite caveat. No filler or restated title text.

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?

An output schema exists, so return shape needs no explanation, and both parameters plus the destructive/idempotent profile are covered. For a two-parameter destructive write this is close to complete; only the interaction with session state (e.g. whether an open binary session is required) is left implicit.

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 a 3 would be the floor; the description goes further by making the coupling explicit — overwrite only becomes relevant when a destination already exists. That is behavioral meaning the schema's 'Whether an existing destination may be replaced' does not convey on its own.

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?

The description names a specific verb plus resource ('write the session's ... Evidence bundle') and the target ('requested local path'), which cleanly separates it from the read-side sibling get_evidence_bundle. It does not explicitly name that sibling, but the write-vs-read distinction is unambiguous.

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?

It gives a clear context ('export the session's evidence to a local path') and a concrete precondition for the overwrite case, which is the main decision point when invoking it. It stops short of stating when not to use it or pointing at an alternative such as get_evidence_bundle for in-memory inspection.

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