Skip to main content
Glama

UXON AI

segments_context_get

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read current customer Segment rules and supported option sources; profile/activity/visitor capabilities are not interchangeable.

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_context_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

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds a useful caution that profile/activity/visitor capabilities are 'not interchangeable', warning against conflating context sources. It says nothing about what the returned rules/sources look like or any freshness or rate characteristics beyond that warning.

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?

Two sentences, so it is short, but the first is off-topic boilerplate about agent instructions that does not describe this tool and dilutes the front-loaded content. The actual purpose is relegated to the second sentence, which itself packs two unrelated ideas together.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 no explanation, but for a 3-parameter read tool with only 33% parameter coverage the description leaves required inputs unexplained and offers no differentiation from closely named siblings. An agent could not confidently choose this over segments_get based on the text alone.

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 description coverage is 33%: only teamId is documented (as an organization ID from organizations_list). siteId and segmentId are bare UUIDs with no description, and the description text adds no meaning about what a segmentId refers to or how siteId scopes the read. It does not compensate for the low coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The second sentence gives a verb ('Read') and resource ('current customer Segment rules and supported option sources'), but 'supported option sources' is opaque, and the first sentence is a cross-tool prerequisite rather than a statement of this tool's purpose. It does not distinguish this from siblings like segments_get or segments_options, which sit adjacent in the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only when-to-use signal is a global prerequisite ('Before operating Revenuefly, read agent.instructions.get'), which applies to every tool and therefore gives no selection guidance. Nothing states when to call segments_context_get versus segments_get or segments_options, nor any preconditions specific to this tool.

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