Skip to main content
Glama

get_samples

Retrieve paginated sample summaries for a run, including bounded results when the complete run is truncated.

Instructions

Enumerate bounded sample summaries, including when the complete run is truncated.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_samples"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it only gestures at truncation without saying what gets truncated, whether truncation is signalled in the response, or how the bound is controlled. It says nothing about permissions, ordering, or pagination behavior even though limit/offset imply paging.

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

Conciseness3/5

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

It is a single short sentence, which is efficient, but the trailing clause about truncation is syntactically muddy and consumes space without conveying actionable meaning. Brevity here reads as under-specification rather than tightness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, but for a tool with a required run identifier and two paging parameters the description leaves too much unstated. An agent could not confidently decide between this and get_sample, nor know how paging and truncation interact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters, so the description must compensate and largely does not: run_id is never mentioned as required, offset is never explained, and only the word "bounded" hints at limit. The default values and their effect on the truncation flag are left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Enumerate ... sample summaries" gives a verb and a resource, but the qualifiers "bounded" and "including when the complete run is truncated" are opaque rather than clarifying. Nothing in the text distinguishes this from siblings such as get_sample or get_study_samples, so an agent cannot tell which one returns a collection versus a single item.

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

Usage Guidelines2/5

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

The description contains no when-to-use or when-not-to-use guidance and never names an alternative. An agent must infer from the name alone that this lists many samples for a run while get_sample returns one.

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