Skip to main content
Glama

TOConline MCP by usefulapi

List purchase documents

toconline_list_purchase_documents
Read-only

List the connected TOConline company's purchase documents. Returns the vendor's JSON:API data, attributes, relationships and pagination metadata. Read-only. GET /api/commercial_purchases_documents.

Input Schema

NameRequiredDescriptionDefault
pageNoJSON:API results page (default 1).
filtersNoExact-match JSON:API filters, e.g. {tax_registration_number:'123456789'} for customers, {item_code:'100'} for products, or {document_no:'FT 2026/1',status:1} for documents. Names must be fields of this resource; invalid fields are rejected by TOConline.
page_sizeNoResults per page, 1–100 (default 20).

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?

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful behavioral context by saying the response is JSON:API data with attributes, relationships, and pagination metadata, and it names the underlying endpoint.

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

Conciseness5/5

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

Three short sentences are front-loaded with the core purpose, followed by return-shape and safety/endpoint context. There is no wasted wording.

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?

With no output schema, the description appropriately explains the general return shape as JSON:API data with attributes, relationships, and pagination metadata. Combined with complete parameter descriptions and read-only annotations, it is nearly complete, though it could say more about what document fields are returned.

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 100%, so page, page_size, and filters are already well documented in the schema. The description adds no parameter-specific detail beyond that, which is acceptable given the full schema coverage.

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 specific verb and resource: it lists the connected TOConline company's purchase documents. The name and text clearly distinguish this from sales documents and purchase payments, though the description itself does not explicitly name those alternatives.

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?

It says what the tool does but gives no guidance on when to use it versus sibling tools such as toconline_list_purchase_payments or toconline_list_sales_documents. There are no exclusions, prerequisites, or alternative-selection cues.

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.