Skip to main content
Glama

Cin7 Core MCP by usefulapi

Get purchase

cin7core_get_purchase
Read-only

One purchase by id (simple, advanced or service purchase): supplier, contact, addresses, terms, location, required-by date, note, order lines, stock received, put away, invoices, credit notes, payments and attachments. GET /advanced-purchase?ID=… (the vendor endpoint that serves every purchase type).

Input Schema

NameRequiredDescriptionDefault
purchase_idYesPurchase id (GUID, the ID from cin7core_list_purchases).
combine_additional_chargesNoShow additional charges inside the line arrays.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds genuinely useful context beyond that: it names the underlying GET /advanced-purchase?ID= endpoint and clarifies that this single vendor endpoint serves every purchase type, which an agent could not infer from the schema.

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?

Front-loaded with the core action ('One purchase by id'), followed by a dense but relevant field list and a parenthetical on the backing endpoint. The long enumeration earns its place by previewing the return payload, though it is slightly heavy in one sentence.

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 usefully compensates by listing the returned fields (supplier, addresses, order lines, payments, attachments, etc.). Combined with annotations covering the read-only profile, an agent has enough to call it correctly, though auth/permission expectations are unstated.

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 100% and both parameters are documented in the schema itself, so the schema carries the load. The description adds no syntax or format detail for purchase_id or combine_additional_charges, so baseline 3 applies.

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 (get) and resource (purchase) scoped to a single record by id, and explicitly enumerates the covered subtypes (simple, advanced, service purchase). This cleanly separates it from cin7core_list_purchases, which returns collections.

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 'by id' framing and the note that this endpoint 'serves every purchase type' imply when to reach for it versus list_purchases, but no explicit when-to-use or when-not guidance is given. Usage is inferable 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.