Skip to main content
Glama

Forthcast Inventory

Get supplier performance

get_supplier_performance
Read-onlyIdempotent

Use this when the merchant asks how suppliers are performing or wants rolling 24-month on-time rate, fill rate, actual versus promised lead time, spend, or invoice price accuracy, plus current open and overdue purchase-order counts. Requires a connected Forthcast store; the assistant will prompt to sign in.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum suppliers to return.
supplierNoOptional case-insensitive supplier name filter.

Output Schema

NameRequiredDescriptionDefault
countYes
suppliersYes
truncatedYes
total_matchingYes
analysis_period_monthsNo
supplier_performance_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, closed-world, so the safety profile is covered. The description still adds real value beyond them: the metric window is fixed at a rolling 24 months, and calling it without auth will trigger a sign-in flow rather than fail silently. It doesn't mention result truncation or how the 20-default/50-max limit behaves at scale.

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 sentences, both front-loaded: the trigger condition comes first, the returned metrics second, and the auth prerequisite last. The metric enumeration is dense but each item is a distinct capability, so it earns its space. A slightly tighter phrasing could have trimmed a few words.

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-value structure needn't be explained, and annotations cover safety. The description completes the picture with the metric scope, the fixed 24-month window, and the auth prerequisite. The only gap is how limits and the supplier filter behave at the edges, which is minor for a read-only tool.

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%, with both 'limit' (max 50, default 20) and 'supplier' (case-insensitive name filter) fully documented in the schema. The description adds no further parameter guidance, such as how the supplier filter matches partial names. Baseline 3 applies when the schema does the heavy lifting.

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?

The description names a specific verb+resource pairing ('get supplier performance') and enumerates exactly which metrics come back: rolling 24-month on-time rate, fill rate, actual vs. promised lead time, spend, invoice price accuracy, and open/overdue PO counts. None of the sibling tools cover supplier-level analytics, so the agent can distinguish it from get_inventory_overview or list_purchase_orders without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger: 'Use this when the merchant asks how suppliers are performing.' It also flags the prerequisite (a connected Forthcast store, with a sign-in prompt). It stops short of naming when NOT to use it or pointing at an alternative for, say, raw PO listings, which would be needed for a 5.

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