Skip to main content
Glama

Customer.io MCP by usefulapi

Get customer segments

customerio_get_customer_segments
Read-only

List the segments a single person belongs to. App API: GET /v1/customers/{customer_id}/segments.

Input Schema

NameRequiredDescriptionDefault
customer_idYesThe person's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the underlying API route (GET /v1/customers/{customer_id}/segments), which is modestly useful context, but says nothing about pagination, result ordering, or what happens when the customer has no segments.

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 short sentences, zero waste, with the scope statement front-loaded ahead of the endpoint detail. Nothing is padded or repeated.

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 one-parameter, read-only lookup with no output schema, the description plus annotations give enough to call it correctly. The endpoint reference is a nice touch, though it omits any note on return shape or multiplicity, which is the only remaining gap.

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 coverage is 100% for the single parameter, so the schema already documents customer_id. The description reinforces that it is a single person's id but adds no format, source, or constraint beyond what the schema provides. Baseline 3 applies when the schema does the heavy lifting.

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 and resource: 'List the segments a single person belongs to.' The phrase 'a single person belongs to' implicitly scopes it to one customer, which helps distinguish it from the sibling customerio_list_segments. It does not name that sibling explicitly, so it stops short of full differentiation.

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 implied by the scope ('a single person belongs to'), steering an agent that already has a customer_id, but there is no explicit when-to-use, when-not, or naming of the alternative list_segments. Adequate but leaves the agent to infer routing against a very large sibling set.

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.