Skip to main content
Glama

segment_list_sources

Read-onlyIdempotent

Lists all Segment sources in a workspace via the Segment Public API, helping you inspect and manage source integrations by providing the required API key and workspace ID.

Instructions

List all Segment sources in a workspace using the Segment Public API.

Input Schema

NameRequiredDescriptionDefault
api_keyYesSegment Public API token
workspace_idYesSegment workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.9
  2. Removed
  3. Addedv0.1.5

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds only that it goes through the Segment Public API; it does not mention pagination, result ordering, or empty-workspace behavior.

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?

A single efficient sentence with the resource and scope front-loaded. It is appropriately sized for a simple read tool, though it could have traded a few words for a sibling comparison.

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?

For a simple, non-destructive list tool with no output schema and full parameter coverage, the description covers the basics. It omits return-shape hints and pagination behavior, which would help an agent plan the call.

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%, so both api_key and workspace_id are documented at the schema level. The description's phrase 'in a workspace' loosely maps to workspace_id but adds no syntax, format, or permission semantics beyond the schema.

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?

The description states a specific verb (List) and resource (Segment sources) scoped to a workspace, which is clear enough for an agent to understand. It does not distinguish itself from the sibling segment_get_source, so it falls short of 5.

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

Usage Guidelines2/5

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

No guidance on when to use this versus segment_get_source or segment_list_destinations. The only context is the implicit 'list all' framing, leaving usage to inference.

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

Deploy Server

Other Tools