Skip to main content
Glama

List samples

list_samples
Read-onlyIdempotent

Every sample of one run: provider, interface, models, prompt, locale, time, status, extracted mentions and citations, and the evidence file hash. Requires the monitoring: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>",
      "runId": "<runId>"
    },
    "name": "list_samples"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesMonitoring run id
projectIdYesClient project id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds a genuinely useful authorization detail (monitoring:read key) and implicitly signals the volume of data per sample, but says nothing about pagination, result limits, or behavior on an unknown runId.

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 tightly packed sentences with the scope front-loaded and the field list earning its space because it functions as the de facto return-value contract. No filler or redundant restatement of the title.

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

Completeness3/5

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

With no output schema, the field enumeration usefully compensates by describing what comes back, and the permission note covers access requirements. However, for a tool returning 'every sample' of a run, the absence of any pagination, result-size, or empty-result guidance leaves a real gap.

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 coverage is 100% and both parameters (projectId, runId) are documented inline as client project id and monitoring run id. The description adds only the framing that results are scoped to a single run; it contributes no new syntax or constraint details beyond the schema, so the baseline of 3 applies.

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 names a specific resource and scope ('Every sample of one run') and enumerates the returned fields (provider, interface, models, prompt, locale, time, status, mentions, citations, evidence hash). That distinguishes it from list_runs and get_sample_evidence without opening their schemas, though no sibling is named explicitly.

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 only guidance is a permission prerequisite ('Requires the monitoring:read key permission'); nothing states when to call this versus list_runs, get_citations, or get_sample_evidence. The agent must infer usage entirely from the resource name.

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.