Skip to main content
Glama

Emailchef MCP by usefulapi

Get segment

emailchef_get_segment
Read-only

One segment with its logic and condition groups. GET /lists/{list_id}/segments/{segment_id}.

Input Schema

NameRequiredDescriptionDefault
list_idYesNumeric id (as returned by the list tools).
segment_idYesNumeric id (as returned by the list tools).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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=true, so the safety profile is covered structurally. The description adds that the returned object carries the segment's logic and condition groups, which is genuinely useful since there is no output schema, but it stops short of describing pagination, error behavior, or the full response shape.

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?

Two short sentences with the return-content fact front-loaded and the endpoint template after it. Every element is relevant, though the raw REST path is largely redundant for an agent that already knows this is a GET-by-id tool.

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 simple two-parameter read with no output schema, the description covers what is returned (logic and condition groups) and the addressing scheme. Only minor gaps remain around failure modes and how segment ids are obtained, which the sibling list tool implies.

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 both required parameters are documented there, so the baseline of 3 applies. The path template in the description mildly reinforces that the ids are numeric path parameters but adds no new 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?

Names a specific verb ('Get') and resource ('segment'), and the phrase 'One segment' implicitly distinguishes it from the sibling emailchef_list_segments. It does not explicitly name that sibling, so it falls short of a 5.

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: 'One segment' plus the id-based path suggest fetching a single known segment, whereas list_segments would be used to discover ids. There is no explicit when-to-use statement, no prerequisite note, and no mention of what happens with an invalid id.

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.