Skip to main content
Glama

TOConline MCP by usefulapi

List sales documents

toconline_list_sales_documents
Read-only

List the connected TOConline company's sales documents. Returns the vendor's JSON:API data, attributes, relationships and pagination metadata. Read-only. GET /api/commercial_sales_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.7/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 value by disclosing the return shape (JSON:API data, attributes, relationships, pagination metadata) and the concrete endpoint, which goes beyond what annotations provide.

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 short sentences, front-loaded with the purpose and return shape, with no wasted text. Efficient and easy to parse.

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 compensates by summarizing the JSON:API return structure and pagination metadata. For a read-only list tool with fully documented params, this is nearly complete, though it could note filter-field constraints more explicitly.

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 fully documented in the schema. The description adds no parameter-level detail beyond that, making the baseline 3 appropriate.

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 uses a specific verb+resource ('List ... sales documents') scoped to the connected company and names the underlying endpoint. It distinguishes at a high level from singular siblings like toconline_get_sales_document, but doesn't explicitly contrast with them.

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?

The read-only/list nature implies when to use it, but there is no explicit guidance on when to choose this over toconline_get_sales_document or toconline_list_sales_document_lines. Usage is implied rather than stated.

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.