Skip to main content
Glama

Release a staged statistical dataset

release_dataset
DestructiveIdempotent

Idempotently remove a caller-owned staged dataset before its TTL, freeing its place.

Call it as soon as you have what you need from a dataset. A caller may hold only slots_max staged datasets at once, the limit is shared by all of the caller's conversations, and ending a conversation frees nothing: a dataset left staged counts against later stage_url and fetch calls until it expires. This is what cures dataset_limit_reached.

released is false when the dataset was not held: already released, expired, or not the caller's. slots_used and slots_max are the figures after the call, on the server that answered.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "release_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYes

Output Schema

NameRequiredDescriptionDefault
releasedYes
slots_maxNo
dataset_idYes
slots_usedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / slots_max
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / slots_used
      Added value: +{
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds concrete semantics: slots are shared across all of a caller's conversations, ending a conversation frees nothing, and un-released datasets count against later stage_url and fetch calls. It also discloses the returned flags (released false for already-released, expired, or non-owned datasets) and notes the numbers reflect the answering server.

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?

Front-loaded with the action, then the when-to-use, then the slot mechanics, then return-value semantics across three tight paragraphs. Nothing is padding, but the last paragraph is dense enough that it could be split into bullets for faster scanning.

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?

Even though an output schema exists, the description still usefully explains the meaning of released, slots_used, and slots_max in the idempotent/no-op case, which is the non-obvious part. Combined with the slot-limit model and the dataset_limit_reached linkage, an agent has everything needed to call this correctly.

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 0% for the single dataset_id parameter, so the description must carry the burden; it adds only the ownership constraint implied by "caller-owned" and "not the caller's." It never says where the id comes from (presumably stage_url or fetch) or its format, leaving a real gap for a 1-required-param tool.

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 (idempotently remove), a specific resource (caller-owned staged dataset), and a scope condition (before its TTL, freeing its place). It also names the sibling calls (stage_url, fetch) that a held slot blocks, so an agent can place it in the lifecycle without opening a schema.

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

Usage Guidelines5/5

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

"Call it as soon as you have what you need from a dataset" gives an explicit trigger, and "This is what cures dataset_limit_reached" gives the error condition that should route the agent here. It also implicitly excludes the no-op case by explaining that released is false when nothing was held.

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