Skip to main content
Glama

UXON AI

orders_pdf_download

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Download the existing account-owned Order PDF. API/MCP receive base64 PDF bytes; Control stores a private owned file reference and rechecks Order access on download.

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

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
orderIdYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesAPI/MCP consumers decode contentBase64 to the named PDF. Control stores bytes privately and replaces them with an owned file reference before model context/history presentation.
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description does add real value beyond them: API/MCP callers receive base64 PDF bytes while Control stores a private owned file reference, and Order access is rechecked at download time. It does not say what happens when no PDF exists or when access is denied.

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 behavioral sentences are dense and front-loaded with the key action. However, the leading sentence is a boilerplate instruction preamble that describes no aspect of this tool and dilutes the opening.

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 spelled out, and the description usefully notes the base64 vs. stored-reference split. Still, for a 3-parameter tool with weak schema coverage, it leaves the scoping parameters and failure modes unexplained.

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 only 33% (only teamId is documented in the schema), so the description needs to compensate and does not. siteId and orderId are never explained, and the description does not clarify that teamId scopes the request to an organization or how siteId relates to the order.

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?

"Download the existing account-owned Order PDF" gives a specific verb and resource that separates it from the other *_download siblings (forms, reports, testimonials media). It stops short of explicitly contrasting with orders_get or orders_export, but the resource is unambiguous.

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 guidance is a global preamble to read agent.instructions.get first. There is no statement of when to choose this over orders_get, orders_export, or the other download tools, and no preconditions such as the order needing an existing generated PDF.

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