Skip to main content
Glama

list_email_segments

Read-onlyIdempotent

List the business's saved email segments: named combinations of contact tags. Pass one to preview_email_audience or prepare_email_campaign_review as {"kind":"saved_segment","id":ID}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_email_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds non-obvious value by disclosing that results are consumable as {"kind":"saved_segment","id":ID}, which is a behavioral contract not expressed anywhere in structured fields; it stops short of noting whether the list is paginated or empty for new businesses.

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?

Two sentences, front-loaded with the resource and its definition, then the follow-on action with the exact payload. No filler, no repetition of annotations.

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 parameterless read tool with full annotation coverage and no output schema, the description covers purpose, scope, and how to use the result. It leaves the returned object shape implicit, which an agent must discover by calling it.

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

Parameters4/5

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

Zero parameters, so the baseline is 4; the description correctly implies no filtering or pagination inputs. It adds helpful semantics for the returned identifier format the agent must reuse downstream, though it does not name the fields each segment object contains.

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 and resource ("List the business's saved email segments") and immediately defines what a segment is ("named combinations of contact tags"), which disambiguates it from sibling list_* tools like list_contact_tags and list_email_campaigns.

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?

Goes beyond when-to-use by showing the downstream step: pass an item to preview_email_audience or prepare_email_campaign_review. Naming the consumer tools and the exact payload shape makes the selection decision unambiguous.

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.

Resources