Skip to main content
Glama

PHP Point of Sale MCP by usefulapi

Get receiving

phppos_get_receiving
Read-only

One receiving by id: supplier, items, quantities, costs and payments. GET /receivings/{id}.

Input Schema

NameRequiredDescriptionDefault
receiving_idYesReceiving id (find it with phppos_list_receivings).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 the safety profile is covered. The description adds useful behavioral context by enumerating what the payload contains (supplier, items, quantities, costs, payments) and giving the underlying endpoint, though it says nothing about permissions, pagination or missing-id behavior.

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?

Two compact sentences: the resource and returned fields come first, the endpoint last. Nothing is redundant or padded.

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?

There is no output schema, so the description carries the burden of describing the return value, and it does so at a reasonable level of detail. It stops short of describing envelope/error shape or not-found behavior, but for a simple single-record read it is largely sufficient.

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% and the receiving_id parameter is documented there, including how to obtain it via phppos_list_receivings. The description adds no further meaning about the identifier, so the baseline 3 applies.

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?

It names a specific verb (get) and resource (one receiving) and scopes it by id, plus advertises the returned content (supplier, items, quantities, costs, payments). It implicitly separates itself from phppos_list_receivings via 'one ... by id' but never states the contrast explicitly.

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?

Fetch-a-single-record usage is implied by 'one receiving by id', but there is no explicit when-to-use or when-not, and no alternative named in the description (the pointer to phppos_list_receivings lives in the schema, not here).

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.