Skip to main content
Glama

gdex-mcp

validate_subset_request

Check a subset request body against the dataset's control file template, without submitting anything. Use this before submit_subset_request to catch missing or unrecognized fields fast, instead of finding out from a failed API call.

Args:
    dsid: Dataset ID (dNNNNNN), e.g. d083002
    request_json: JSON string of the subsetting request body to validate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dsidYes
request_jsonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It clearly discloses the non-submitting nature of the operation and the validation behavior: checking against the control file template and surfacing missing or unrecognized fields. It doesn't discuss auth or rate limits, but the key no-side-effect trait is covered.

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?

The description is compact and front-loaded: it states the core purpose and usage in the first two sentences, then provides a clean structured Args block. There is very little waste, and the minor repetition of 'without submitting anything' reinforces the key behavioral point rather than bloating the text.

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?

Given the low complexity, two well-documented parameters, and an output schema that covers return values, the description is nearly complete. It explains what the tool does, when to use it, and what both parameters mean. A brief pointer to how the control file template is obtained or interpreted could add polish, but this is not a significant gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the Args section fully compensates: dsid gets a format constraint (dNNNNNN) and an example, while request_json is explicitly identified as a JSON string of the subsetting request body. This adds meaningful semantics beyond the bare type and title in 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?

The description uses a specific verb and resource: it validates a subset request body against the dataset's control file template, and explicitly states no submission occurs. It distinguishes itself from the sibling submit_subset_request by positioning validation as a pre-submit check.

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?

It explicitly instructs to use this before submit_subset_request to catch missing or unrecognized fields, avoiding failed API calls. The alternative tool is named and the selection condition is clear, leaving no ambiguity about when to call this tool.

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.