Skip to main content
Glama

Find YoPrint operations

search
Read-onlyIdempotent

Finds the YoPrint API operations this connection can call. Call it without arguments first: it returns the guide (ids, dates, amounts, changes, files and limits) and the families of operations. Then describe the task in a few words (query: "record payment", "add tracking to shipment"): the best matches come in full, the next ones as short rows. Ask for rows in full with operation, list a family with family, run several searches at once with queries, or run JavaScript over the list with code, such as: return spec.operations.filter((o) => o.family === "shipments" && o.access === "change").map((o) => ${o.method} ${o.path}: ${o.summary}) interface Operation { operation: string; method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; path: string; access: "read" | "change"; family: string; summary: string; notes: string; impact?: string[]; // money, customer_message, delete, irreversible, external, team_admin, bulk: get the go-ahead first parameters?: Array<{ name: string; in: "path" | "query" | "header"; required: boolean; description?: string }>; body?: unknown; filters?: Record<string, unknown>; sort?: string[]; example: { method: string; path: string; query?: unknown; body?: unknown }; // values are placeholders returns?: string; // the answer's shape as an owner gets it, where it is known budget?: "render"; } declare const spec: { operations: Operation[] }; // Search code calls nothing. It has yoprint.shape, yoprint.amount and yoprint.connection, as read code does.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoJavaScript or TypeScript, the body of an async function, that reads spec.operations and returns what you need.
fullNoWith code: return up to about 25,000 tokens instead of 6,000.
queryNoThe task in a few words, such as "record payment" or "open orders for a customer".
familyNoA family to list as short rows, such as "shipments".
queriesNoSeveral searches in one call, each answered on its own, for example ["customer create", "order line", "publish order"].
operationNoOperations to give in full, by name ("v2.order.create") or method and path ("POST v2/sales_order/new").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive, not open-world), but the description adds real operational detail: a 6,000-token default output budget versus ~25,000 with full, best matches returned in full while later ones arrive as short rows, and the meaning of impact flags ('money, customer_message, delete, irreversible... get the go-ahead first'). That is value beyond the annotations.

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?

Purpose and the recommended first call are front-loaded, and the Operation interface earns its space because there is no output schema. There is mild redundancy between the prose enumeration of operation/family/queries/code and the schema descriptions covering the same ground, and the embedded code example plus interface make it long.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six optional parameters, no output schema, and a rich result type, the description supplies the missing return shape via the Operation interface and declares the helper context available to code. An agent has everything needed to make a first call and then a targeted follow-up.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description still adds meaning: it explains the incremental role of query versus the row-oriented family, the batching role of queries, the in-full role of operation, and the filter-and-map pattern for code with a worked example. Each parameter's purpose in the workflow is clear beyond its schema text.

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

Purpose5/5

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

States a specific verb and resource: 'Finds the YoPrint API operations this connection can call.' It also marks the boundary against mutating work by noting 'Search code calls nothing' and that its sandbox exposes only shape, amount and connection helpers 'as read code does', so an agent can separate it from execute without inspecting schemas.

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

Usage Guidelines5/5

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

Gives an explicit ordered workflow: 'Call it without arguments first' to get the guide and families, then 'describe the task in a few words' via query, then escalate with operation/family/queries/code. Each alternative is tied to a stated condition, which is exactly the when-to-use guidance asked for.

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