Skip to main content
Glama

Get supplier constraints

get_supplier_constraints
Read-onlyIdempotent

Read visible supplier information and product rows. Use for supplier range, constraints, or inventory-capital questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_nameNoEntity name exactly as the user wrote it.
include_stock_valueNoTrue to include the stock value held per supplier, for inventory-capital questions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesOne row per product line: sku, product, category, supplier, then the line's own measures.
scopeYesWhat population the rows were read from.
truncatedYesTrue when more rows matched than were returned.
populationNoPresent on an unfiltered read: a reminder the rows are a slice, not the whole business.
evidence_idYesHandle for these rows within this call's results. Not a citation.
completenessNoPresent when nothing matched: what the empty result does and does not mean.
returned_rowsYesRows in this response.
inputs_not_appliedNoInputs the snapshot could not apply.
source_evidence_idsYesWorkspace evidence IDs backing these rows. Empty when the source carries no evidence records.
total_matching_rowsYesRows that matched before any limit.
excluded_rows_without_metricNoRows left out of a ranking because they carry no figure for the metric.

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, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only the 'visible' qualifier, hinting results are authorization-filtered, but says nothing about scope limits, defaults, or how the supplier/product rows relate. Modest added value over the annotations.

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 short sentences, purpose first then usage, with no redundant filler. It is appropriately sized, though the second sentence is doing double duty for both purpose and routing without resolving either fully.

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 an output schema present, return values need not be explained, and the schema fully documents both parameters. Annotations cover the safety profile. The remaining gap is that zero required parameters means the tool can be called with no arguments, and the description never clarifies the default/no-entity behavior.

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 both parameters are fully documented in the schema and the baseline is 3. The description does not add syntax, format, or default behavior for entity_name or include_stock_value beyond what the schema already states (it only echoes the inventory-capital framing for include_stock_value).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb (Read) and resources (supplier information and product rows), but the name/title promise 'constraints' while the body talks about general supplier info and product rows, creating a mismatch. It does not distinguish this tool from sibling find_supplier, which an agent would plausibly choose instead.

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?

'Use for supplier range, constraints, or inventory-capital questions' gives implied usage triggers, which is better than nothing. But it names no alternatives and no exclusions, so the agent gets no routing help against siblings like find_supplier, compare_supplier_offer_history, or get_inventory_position that also touch supplier/inventory questions.

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.

Resources