Skip to main content
Glama
treasure-data

Treasure Data MCP Server

Official

get_parent_segment

Retrieve details for a specific parent segment by its ID; use the segment listing first to find the correct ID.

Instructions

[EXPERIMENTAL] Get details of a specific parent segment by its ID. Requires parent_segment_id parameter. Use list_parent_segments first to find available parent segment IDs.

Input Schema

NameRequiredDescriptionDefault
parent_segment_idYesThe parent segment ID to retrieve details for (required). Use list_parent_segments to find available IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the EXPERIMENTAL status and the ID-discovery prerequisite, but says nothing about what 'details' are returned, permissions, or error behavior for an invalid ID. Adequate for a simple read getter but leaves behavioral gaps.

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?

Three short sentences, front-loaded with the EXPERIMENTAL tag and the core action. Slight redundancy where it restates the required parameter already covered by the schema, but otherwise efficient.

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?

No output schema and no annotations, so the description should ideally say what 'details' comprise. For a simple single-ID getter it is mostly sufficient, but the return shape is left entirely to inference.

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 description coverage is 100% and the single parameter is fully documented in the schema, including the list_parent_segments hint. The description's 'Requires parent_segment_id parameter' merely repeats the schema, adding no syntax or format detail beyond it.

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?

States a specific verb+resource: 'Get details of a specific parent segment by its ID,' which clearly distinguishes it from the sibling get_segment (which operates on segments, not parent segments). The distinction is implied through the resource noun rather than explicitly contrasted, but an agent can tell them apart.

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?

Explicitly tells the agent to call list_parent_segments first to discover valid IDs, giving a concrete prerequisite workflow and naming the alternative for discovery. No explicit when-not-to-use condition, but the intended usage path is clear.

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