Skip to main content
Glama

add_evidence_version

Upload a new version of an existing evidence item while preserving prior versions; optionally carry over existing files and add a note describing changes.

Instructions

Upload a NEW VERSION of an existing evidence item (like the 'Add new version' button). Old versions stay in the history. By default the new version contains only the new files; set keep_existing_files to carry over files from the latest version (all of them, or only the names you list). Optionally add a version note describing what changed. Confirm the evidence, files and note with the user before calling.

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": {
      "evidence_id": "<evidence_id>"
    },
    "name": "add_evidence_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathsNoAbsolute paths of new local files for this version
evidence_idYesNumeric Portflow id
version_noteNoWhat changed in this version (plain text or HTML)
keep_existing_filesNofalse = only new files; true = also keep all files of the latest version; or a list of file names to keep

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, it discloses that old versions stay in history (a non-destructive versioning side effect) and explains the default file-carryover behavior of keep_existing_files. It does not cover auth needs or rate limits, but annotations already declare the safety profile.

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 core action, then covers file behavior, note, and confirmation in a tight sequence. No sentence is redundant; each adds a distinct operational detail.

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 4-parameter mutation tool with no output schema, the description covers purpose, key parameter behavior, versioning side effects, and a confirmation step, leaving no significant gap an agent needs before calling.

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 100% schema coverage the baseline is 3, and the description adds meaningful interpretation: it clarifies that by default only new files are included and that keep_existing_files can carry over all or a listed subset of files, plus what version_note should contain.

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 ('Upload a NEW VERSION of an existing evidence item'), and the phrase 'existing evidence item' distinguishes it from sibling create_evidence which creates new items. The button analogy anchors the concept immediately.

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?

The 'existing evidence item' framing implies when to use it versus creating new evidence, and the description gives explicit instructions to confirm evidence, files, and note with the user before calling. It stops short of naming an explicit alternative tool or exclusion.

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