Skip to main content
Glama

update_evidence_description

DestructiveIdempotent

Replaces the reflection text of an existing Portflow evidence item, overwriting its current description. Read it first with get_evidence and confirm the new text with the user.

Instructions

Replace the description/reflection text of an existing evidence item. This OVERWRITES the current description, so read it first with get_evidence and confirm the new text with the user.

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>",
      "description": "<description>"
    },
    "name": "update_evidence_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYesNew description (plain text or HTML)
evidence_idYesNumeric Portflow id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the concrete consequence: the current description is OVERWRITTEN and the prior text must be read first. It stops short of saying whether the previous text is recoverable or whether a version is recorded, which matters for a destructive mutation.

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 sentences, with the destructive consequence front-loaded in caps and the safety precondition following immediately. Every clause earns its place and nothing is padding.

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 two-parameter destructive write with no output schema, the description covers the important unknowns: the overwrite semantics and the read-then-confirm precondition. It leaves open whether history is preserved and what is returned, minor gaps given annotation coverage.

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?

Both parameters have full schema descriptions (100% coverage), including the evidence_id type union and that description accepts plain text or HTML. The description adds no syntax or formatting guidance beyond the schema, so the baseline of 3 applies.

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?

The description states a specific verb and resource: 'Replace the description/reflection text of an existing evidence item.' It is clearly distinguishable from the read-only sibling get_evidence, which it names, so an agent can tell an overwrite apart from a read without opening either schema.

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 an explicit workflow: read the current text with get_evidence first, then confirm the new text with the user before writing. It does not say when to prefer this over alternatives such as add_evidence_version (which would preserve history rather than overwrite), so the when-not guidance is incomplete but the named prerequisite is strong.

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