Skip to main content
Glama

UXON AI

orders_resolve

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Find an exact Order ID/reference, or return customer matches to choose from. A buyer email can match several Orders; never guess.

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": "orders_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.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 safety is covered. The description adds genuinely useful behavior: the call is a lookup/resolution that can return multiple candidates rather than a guaranteed single record. Beyond that it discloses little, and it imposes an external prerequisite ('read agent.instructions.get') without saying what that prerequisite governs for this tool.

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 substantive content is two tight sentences, but the first sentence is a tool-external compliance instruction placed ahead of the actual purpose, pushing the useful content to position two. The closing 'never guess' fragment is effective and earns its place; the preamble does not.

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

Completeness4/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-shape explanation is not required, and the description correctly focuses on the resolution ambiguity that an output schema cannot convey. What is missing is any meaning for the required siteId and the exact-match vs. fuzzy-match threshold behavior for query. Against a three-parameter read tool with annotations and an output schema, it is close to 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 coverage is only 33% — teamId is documented in schema, query and siteId are not. The description partially compensates by implying query accepts an Order ID, a reference, or a buyer email, which is real added meaning. It says nothing about siteId (a required UUID) or how teamId scoping interacts with the lookup, leaving the required siteId semantically empty.

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 concrete verb and outcome: resolve an Order by an exact Order ID/reference, or return candidate customer matches to pick from. That distinguishes it from the mutation siblings (orders_delivery_address_update, orders_shipments_create), though it never contrasts with read siblings like orders_get or orders_list. The opening instruction preamble dilutes the front-loaded purpose.

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

Usage Guidelines4/5

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

Clear context is given: use it when you have an exact Order ID/reference, and expect a disambiguation step when the input is a buyer email matching several Orders. The 'never guess' rule is a useful usage constraint. It falls short of naming an alternative for the ambiguous case (e.g., listing orders by customer), so the agent is told what not to do but not what to do instead.

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