Skip to main content
Glama

UXON AI

discounts_resolve

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Find Discounts by ID or name; do not guess among matches or ignore remaining pages.

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>",
      "page": "<page>"
    },
    "name": "discounts_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
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

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description does add genuine behavioral context: a query may return multiple matches and results are paginated, both of which affect how an agent must react. It says nothing about result shape or page limits beyond the schema's maximum.

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 purpose and the two constraints fit into a single dense sentence with no filler. The preceding sentence about reading agent.instructions.get is generic boilerplate that conveys nothing about this specific tool, so half the text is not earning its place against the tool's own behavior.

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 described, and the annotations carry the safety profile. What remains thin is parameter context: three required parameters and an unexplained siteId, on a low-coverage schema. The ambiguity and pagination warnings make it usable, but not fully self-sufficient.

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 25% (only teamId is documented in the schema), so the description is expected to compensate. It clarifies that the query argument accepts either an ID or a name and that a page argument drives pagination, which is real added meaning. It leaves siteId unexplained, so the compensation is only partial.

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: find Discounts by ID or name. That is concrete enough for an agent to know what the tool returns conceptually. It stops short of distinguishing itself from siblings like discounts_get or discounts_list, and the leading instruction sentence describes no purpose at all.

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 gives defensive directives ('do not guess among matches', 'do not ignore remaining pages'), which imply the resolve path is for ambiguous name-or-ID lookups across pages. But it never says when to prefer this over discounts_get or discounts_list, so the choice among siblings is left to inference.

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