Skip to main content
Glama

detect_dataset

Read-only

Inspects a file or directory to identify an embodied-AI dataset's on-disk format (LeRobot, HDF5, MCAP, rosbag, RLDS, JSONL) and returns confidence with evidence.

Instructions

Identify the on-disk format of an embodied-AI dataset (LeRobot, HDF5/robomimic, MCAP, rosbag1/2, RLDS, canonical JSONL) with confidence and evidence.

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": {
      "path": "<path>"
    },
    "name": "detect_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile or directory to inspect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that results include confidence and evidence, which is genuinely useful since there is no output schema, but it says nothing about behavior on unrecognized or ambiguous formats (error vs. low-confidence result) or whether the path is deeply scanned.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler: the action, the target, the supported format set, and the output characteristics all appear in one pass. Nothing to trim.

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

Completeness4/5

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

For a one-parameter read-only detector with annotations covering safety, the definition is nearly sufficient, and mentioning confidence/evidence compensates for the absent output schema. The remaining gap is failure semantics for unknown or mixed-format datasets.

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?

There is a single parameter with 100% schema description coverage ('File or directory to inspect'), so the schema already carries the semantics and the baseline of 3 applies. The description adds no extra constraints such as whether the path must exist locally or how symlinks/remote paths are handled.

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 ('Identify') and resource ('on-disk format of an embodied-AI dataset') and enumerates the exact format families it recognizes (LeRobot, HDF5/robomimic, MCAP, rosbag1/2, RLDS, canonical JSONL). This clearly separates it from siblings like list_formats (which enumerates supported formats rather than inspecting a path) and validate_dataset.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the first step before convert_dataset or validate_dataset, but the description never says when to call it versus those siblings or what to do when detection is ambiguous. No exclusions or prerequisites are given.

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