Skip to main content
Glama

create_evidence

Upload local files to Portflow as new evidence, optionally linking them to collections and goals and adding a description or reflection.

Instructions

Upload one or more local files to Portflow as a NEW piece of evidence (like 'Add evidence → File upload'). Optionally link it to collections (ids from list_collections) and goals (goal ids from list_goals / get_collection → goals[].goal.id), and set a description/reflection. Always confirm the name, files, collections and goals 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": {
      "name": "<name>",
      "file_paths": "<file_paths>"
    },
    "name": "create_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEvidence name shown in Portflow
goal_idsNoGoals to link it to
file_pathsYesAbsolute paths of local files to upload
descriptionNoOptional description/reflection (plain text or HTML)
collection_idsNoCollections to add it to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior beyond that: this always produces a new evidence record rather than modifying one, it reads local filesystem paths, and it requires a user confirmation round before execution. It does not say what happens on partial upload failure or which record is returned.

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

Conciseness4/5

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

Two sentences, front-loaded with the action and UI analogue, then the optionals, then the confirmation requirement. The middle sentence is dense with parenthetical id-source references, but nothing is wasted or redundant.

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 five-parameter write tool with full schema coverage and complete annotations but no output schema, the description covers purpose, prerequisites, and the confirmation gate. The remaining gap is the return value — with no output schema, the agent is not told whether an evidence id or file URLs come back to use in later calls.

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?

Schema description coverage is 100%, so the schema already documents all five parameters, which sets the baseline at 3. The description does add real semantics on top — it identifies the source tools for collection_ids and goal_ids and frames `description` as a reflection — but it does not clarify id formats, path constraints, or the max-50 files limit beyond what the schema states.

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 opens with a specific verb+resource ("Upload one or more local files to Portflow as a NEW piece of evidence") and even maps it to the UI action, so the agent knows exactly what it does. The capitalized "NEW" implicitly separates it from versioning siblings such as add_evidence_version, but no alternative is named outright.

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 concrete prerequisite routing (collection ids from list_collections, goal ids from list_goals / get_collection → goals[].goal.id) and a mandatory workflow step: "Always confirm the name, files, collections and goals with the user before calling." It stops short of stating when NOT to use it, e.g. appending to an existing evidence item instead.

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