Skip to main content
Glama

UXON AI

orders_access_grants_retry

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Retry eligible purchased-resource access for exact selected items after confirmation. Preserves the existing automatic initial access-email queue attempt. Does not charge or create a new purchase.

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>",
      "orderId": "<orderId>",
      "itemIds": "<itemIds>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "orders_access_grants_retry"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
itemIdsYes
orderIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesgrant count is new grants in this attempt, not total active grants. The existing initial-email queue is attempted automatically; an email queue error returns actionSaved/partial. Inspect orders.get for actual grant/notification states.
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two behaviors the agent could not infer: the existing automatic initial access-email queue attempt is preserved, and no charge or new purchase occurs. That is real side-effect disclosure for a non-read-only, idempotent action. It still does not describe failure modes or what happens to items that are not eligible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each carrying content: an operational preamble, the action plus precondition, and the side-effect boundaries. The opening agent.instructions pointer is not tool-specific but is brief and front-loaded, so it costs little.

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 and annotations cover the safety profile, so return values need no explanation. However, the central qualifying term 'eligible' is left undefined, which is a substantive gap for an idempotent mutation with a mandatory confirm and idempotency key.

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 50%: teamId, confirm and idempotencyKey are documented in the schema, while siteId, orderId and itemIds are not. The phrase 'exact selected items' adds useful meaning to itemIds (an explicit selection, not a bulk retry), but siteId and orderId remain unexplained beyond their formats.

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 names a specific verb and resource ('Retry eligible purchased-resource access') and narrows the scope to 'exact selected items', which an agent can act on directly. It stops short of naming a sibling (e.g. resource_access_grant or orders_customer_notifications_resend) to contrast against, so differentiation is only implicit.

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?

'after confirmation' and 'eligible' establish a precondition, but neither is defined and no alternative course of action is offered for ineligible items. The agent knows roughly when to invoke it but not how to judge eligibility or 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