Skip to main content
Glama

PHP Point of Sale MCP by usefulapi

Get supplier

phppos_get_supplier
Read-only

One supplier by person id. GET /suppliers/{person_id}.

Input Schema

NameRequiredDescriptionDefault
person_idYesSupplier person id (find it with phppos_list_suppliers).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 only the REST endpoint mapping, saying nothing about not-found behavior, permissions, or what a returned supplier contains.

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?

Two terse fragments with the key fact (single supplier, person id) front-loaded. Minimal waste, though the raw endpoint path earns little space given it duplicates the schema parameter.

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

Completeness3/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 is the only place the return contents could be described — and it says nothing about which supplier fields come back or what happens if the id doesn't exist. For a simple single-record read that gap is tolerable but real.

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 schema already tells the agent to find the id with phppos_list_suppliers. The description merely restates 'by person id', adding no format or lookup detail beyond the structured field.

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?

States a specific retrieval verb and resource: one supplier, by person id, plus the underlying endpoint path. It implicitly contrasts with phppos_list_suppliers (singular vs plural), so an agent can distinguish it, though that contrast is never made explicit.

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?

The description gives no when-to-use guidance, no prerequisites, and no named alternative — the only pointer to phppos_list_suppliers lives in the schema, not the description. Usage is inferable from 'by person id' but nothing is 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.