Skip to main content
Glama

Get sample evidence

get_sample_evidence
Read-onlyIdempotent

The preserved evidence file of one sample: the provider’s raw response, parsed answer text and citations, and the extraction summary. Over MCP the raw provider body is omitted unless includeRaw is "true". Requires the evidence:read key permission.

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": {
      "projectId": "<projectId>",
      "sampleId": "<sampleId>"
    },
    "name": "get_sample_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sampleIdYesSample id
projectIdYesClient project id
includeRawNoMCP only: "true" to include the raw provider response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds meaningful context beyond that: the raw provider body is omitted by default over MCP unless includeRaw is "true", and the evidence:read key permission is required.

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?

The description is three concise sentences with no wasted wording. The returned contents are front-loaded, followed by the includeRaw caveat and the permission requirement.

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 read-only, single-sample retrieval tool with full schema coverage and no output schema, the description is complete enough. It explains what is returned, the MCP raw-body omission behavior, and the permission requirement.

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 description coverage is 100%, so the baseline is 3. The description adds semantic value by clarifying the default omission behavior for includeRaw and tying it to the raw provider body, rather than merely repeating the parameter list.

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 specifies a clear verb/resource: retrieving the preserved evidence file for one sample, and enumerates its contents (raw provider response, parsed answer text and citations, extraction summary). It is clear, but it does not explicitly distinguish itself from siblings such as get_citations, which also returns citation data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by describing the evidence file contents and the includeRaw behavior, but it does not state when to use this tool versus alternatives like get_citations or get_report. The permission prerequisite is useful context, but explicit usage guidance is absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.