Skip to main content
Glama

get_evidence_file_url

Read-only

Retrieve a short-lived download or preview URL for a file attached to a Portflow evidence version; use the file ID from the latest evidence version.

Instructions

Get a short-lived download/preview URL for a file attached to an evidence version (file id comes from get_evidence → latest_version).

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": {
      "file_id": "<file_id>"
    },
    "name": "get_evidence_file_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesNumeric Portflow id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context beyond annotations by noting the URL is 'short-lived', warning the agent not to cache or reuse it. It doesn't state the actual expiry window or whether any permission scoping applies to the returned link.

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?

A single sentence that front-loads the outcome (short-lived download/preview URL) and packs the id-source guidance into the same breath. Nothing is redundant or 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 one-parameter read tool with no output schema, the description covers what is returned (a URL usable for download or preview), its ephemerality, and the prerequisite lookup. The only meaningful gap is the absence of any expiry timeframe, which would matter to an agent planning to hand the link to a user.

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% and documents file_id as a 'Numeric Portflow id', so the baseline would be 3. The description adds value by explaining the provenance of that id (from get_evidence → latest_version) and by clarifying that either a file id or the version's file reference is expected, reducing the chance of passing a version id by mistake.

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 (get a short-lived download/preview URL) and scopes it to files attached to an evidence version. It also routes the agent to where the file id originates (get_evidence → latest_version), which separates it from sibling tools like get_evidence that return metadata rather than a downloadable link.

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?

Usage context is clear: call this when you need an actual download or preview link rather than evidence metadata, and obtain the file_id via get_evidence → latest_version first. It stops short of explicit exclusions or stating what to do if the id is unknown/invalid, so it is strong but not fully prescriptive.

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