Skip to main content
Glama

UXON AI

segments_get

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read an existing account-owned customer Segment with its actual rules and estimate freshness, without refreshing or changing it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteId": "<siteId>",
      "segmentId": "<segmentId>"
    },
    "name": "segments_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
segmentIdYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the segment is account-owned, the call will not refresh or mutate it, and the result includes the actual rules plus a freshness estimate. It stops short of stating permission requirements or failure behavior for stale/missing segments.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short, but the front-loaded first sentence is cross-tool boilerplate rather than information about this tool, so the actual purpose arrives second. The remaining sentence is dense and earns its place, but the ordering pushes the useful content back.

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?

An output schema exists and annotations cover safety, so the description need not explain return shapes. Still, for a read with an undocumented required siteId and an unusual 'estimate freshness' behavior, an agent lacks information on scoping and on what freshness estimate implies.

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

Parameters2/5

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

Schema coverage is only 33% — only teamId carries a description, and the description adds nothing about siteId or segmentId. 'Account-owned' vaguely gestures at teamId scoping but siteId, a required parameter, is completely undefined in both schema and description, leaving the agent to guess what site scope means.

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 second sentence states a specific verb and resource: read an existing account-owned customer Segment, returning its rules and a freshness estimate. That is enough to distinguish it from write siblings like segments_update and segments_refresh_data. The leading agent-instructions preamble is unrelated to this tool's purpose and dilutes an otherwise clear statement.

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: 'without refreshing or changing it' signals this is the non-mutating read counterpart to segments_refresh_data, but no alternative is named and no when-to-use condition is spelled out. The agent must infer that segments_list is for enumeration and this tool is for a single segment by 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.

Resources