Skip to main content
Glama

UXON AI

segments_options

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read the existing Segment editor's rule options or actual source picker. source selects rules/purchases/forms/resources/events/calls/segments; kind follows that picker. This does not create a Segment or send messages.

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>",
      "source": "<source>"
    },
    "name": "segments_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
formIdNo
searchNo
siteIdYes
sourceYesrules
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
selectedNo
productIdNo
variantIdNo
checkoutIdNo
resourceItemIdNo

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesThe existing selected picker response is preserved. Source picks return their own options; rules returns the editor's rule-options map. Never infer omitted choices or recipients.
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds value by confirming the tool performs no creation and sends no messages, and by imposing a pre-call instruction-reading prerequisite — behavioral context not present in the annotations. It does not describe result shape or how the returned options are meant to be consumed, which the presence of an output schema partly excuses.

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 core purpose sentence is buried behind a cross-tool preamble about agent.instructions.get, so the description is not front-loaded. The remaining sentences are tight and the source/kind coupling is stated economically, but the boilerplate sentence adds no tool-specific information.

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-value explanation is not needed, and annotations cover the safety profile. What remains thin is the relationship between 'source' and the various ID parameters, and how these options feed into segments_create — gaps that matter for a read-only but 11-parameter lookup tool.

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?

With 9% schema description coverage across 11 parameters, the description must carry the load. It does explain the two most important discriminators ('source selects rules/purchases/forms/resources/events/calls/segments; kind follows that picker'), which is genuinely beyond the enum listings. But the identifier family (productId, variantId, checkoutId, formId, resourceItemId) and search/selected are left entirely unexplained, so an agent cannot tell when to pass them.

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 description states a specific read operation over a specific resource ('read the existing Segment editor's rule options or actual source picker'), and the closing clause 'This does not create a Segment or send messages' differentiates it from segments_create and messaging siblings. The phrasing is slightly muddled ('rule options or actual source picker'), but an agent can tell this is an options/lookup read rather than a mutation.

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?

It supplies a prerequisite ('read agent.instructions.get and follow its instructions') and a when-not constraint ('does not create a Segment or send messages'), which implies the write path belongs to another tool. However, no alternative tool is named for actually creating the segment or listing segments, so the routing is only implied.

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