Skip to main content
Glama

Save a source's conversations to a dataset

caliper_sources_to_dataset

Saves the conversations behind a pick (a day, a tool, a document, failures — the same narrowing as caliper_traces_list) into a new dataset (newDatasetName) or an existing one (datasetId), newest first up to limit. purpose decides what each item keeps: review = the agent's reply, tool calls included, for people to rate; eval = the reply becomes the expected answer; spec = only the questions, for people to answer. Set keepAdding to make it live: new matching conversations keep arriving (every one, or 1 in 10 / 1 in 100), up to 1,000. Then offer the next step — caliper_evals_create, or a review in Caliper. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
dayNoOne UTC day, YYYY-MM-DD.
toolNoOnly traces that called this tool.
limitNoMost recent N, default 100.
purposeYesreview | eval | spec.
documentNoOnly traces whose lookups hit this document.
sourceIdYesSource id, from caliper_sources_list or search_workspace.
datasetIdNoAdd to this dataset…
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.
errorsOnlyNoOnly failed traces.
keepAddingNoKeep adding new matches as they arrive, taking one in this many (1 = every one).
newDatasetNameNo…or start one with this name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses ordering (newest first up to limit), the live keepAdding behavior with sampling ratios and the 1,000 cap, the effect of each purpose mode on item contents, and the needs_confirmation return path. Annotations (readOnlyHint=false, destructiveHint=false) match the additive create semantics.

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?

Dense but front-loaded: the core action leads, then purpose semantics, then live-mode behavior and next steps. Every sentence carries information, though the paragraph is long and could be broken into clearer chunks.

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 12-parameter mutation with no output schema, it covers the confirmation flow, ordering, caps, and follow-on actions needed to invoke and continue correctly. Nothing an agent would need before calling is missing.

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%, so the baseline is 3, but the description adds real meaning: it translates the terse 'review | eval | spec' enum into what each item keeps, and elaborates keepAdding as every-one or 1-in-10/1-in-100. It leaves workspace and approvalId handling to the schema.

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?

States a specific verb and resource ('Saves the conversations... into a new dataset or an existing one') and pins the scope by reference to caliper_traces_list's same narrowing (day, tool, document, failures). An agent can tell it apart from caliper_datasets_create or caliper_datasets_add_items without opening any schema.

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?

Gives clear selection logic between newDatasetName and datasetId, explains when to set keepAdding to make it live, and routes the agent to the next step (caliper_evals_create). It does not explicitly compare against sibling routing like caliper_datasets_add_items, so it stops short of full when-not guidance.

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.

Resources