Skip to main content
Glama

get_study_samples

Retrieve bounded development outputs for baseline, no-op, control, or candidate arms to compare experiment results within a specific study attempt.

Instructions

Read bounded development outputs for baseline/no_op/control:NAME/candidate arms.

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": {
      "study_id": "<study_id>",
      "attempt_id": "<attempt_id>",
      "arm": "<arm>"
    },
    "name": "get_study_samples"
  }
}

Input Schema

NameRequiredDescriptionDefault
armYes
limitNo
offsetNo
study_idYes
attempt_idYes
output_limitNo
output_offsetNo

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. It implies a read but never confirms read-only semantics, does not explain what 'bounded' means in practice (truncation, default caps, pagination), and says nothing about permissions or what happens when an arm has no outputs yet.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity is partly a consequence of under-specification rather than disciplined editing.

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 not be described. But for a 7-parameter tool with zero schema coverage and no annotations, the description leaves the required identifiers and both pagination pairs unexplained, which is not enough for correct invocation.

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% across 7 parameters, so the description must compensate and largely does not. The enumerated arm values are genuinely useful, and 'bounded' loosely gestures at limit/offset and output_limit/output_offset, but study_id, attempt_id, and the distinction between the two offset pairs 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?

The verb 'Read' and resource 'development outputs' are stated, and the arm taxonomy (baseline/no_op/control:NAME/candidate) narrows the scope. However, 'development outputs' is never defined and 'bounded' is ambiguous, so an agent cannot confidently tell this apart from the sibling get_samples or get_study_attempt without opening the schema.

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?

There is no statement of when to use this tool versus get_samples, get_study_attempt, or get_study_case_spec, all of which plausibly overlap. No prerequisites, no exclusions, no note that a study attempt must already exist before samples can be read.

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