Skip to main content
Glama

UXON AI

segments_resolve

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Resolve an exact current customer Segment ID/name or ask the user to choose between matches. Legacy audiences are separate identities.

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>",
      "query": "<query>"
    },
    "name": "segments_resolve"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint true and destructiveHint/openWorldHint false, so safety is covered. The description adds real behavior beyond that: resolution can return multiple matches requiring user choice, and legacy audiences are distinct identities that will not resolve here — useful pitfalls an agent would otherwise hit. It omits any detail on what a successful match response contains, but that is carried by the output schema.

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 operative sentences are tight and front-loaded with the verb and disambiguation rule. However, the leading instruction to read agent.instructions.get is cross-cutting boilerplate that does not help select or invoke this specific tool and occupies prime position.

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, so return values need not be explained, and the description covers the key non-obvious behavior (ambiguity handling, legacy identity separation). Still, two of three parameters are undocumented in the schema and untreated in the description, so the definition is adequate rather than complete.

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 only 33% — teamId is documented in the schema, but query and siteId are not. The description partially compensates by defining what query accepts (an exact Segment ID or name), yet says nothing about siteId scoping or the ID-vs-name matching rules, leaving a coverage gap.

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 ("Resolve an exact current customer Segment ID/name") plus the disambiguation behavior ("ask the user to choose between matches"), which distinguishes it from sibling lookup tools like segments_get and segments_list. It is clear but never names a sibling to route against.

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: an agent learns it should call this to turn a name/ID into an exact Segment identity and that ambiguity means asking the user. It gives no explicit when-not conditions and does not contrast with segments_list or segments_get, so the agent must infer selection from sibling names alone.

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