Skip to main content
Glama

inventory_quotes

Read-onlyIdempotent

Inventory quotes: mid and tick in USD, inventory weights in percent, spread/skew/cap in basis points. Skew is bps per 10 percentage points of inventory deviation. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
midNoMarket mid price.
skewNoQuote shift in basis points per 10 percentage points of inventory deviation.
spreadNoFull quoted spread in basis points.
targetNoTrade target price, or target inventory percentage for inventory quotes.
currentNoCurrent base inventory percentage, or current balance in dollars in recovery.
skewCapNoMaximum quote-center shift in basis points.
tickSizeNoPrice tick size; 0 disables rounding.
include_imageNoAlso inline a PNG no wider than 1000 pixels. Image URL is always returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricsYes
resultsYes
edit_urlYes
image_urlYes
share_urlYes
calculatorYes
conditionsYes
disclaimerYes
assumptionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world status, so the safety bar is partly met. The description adds real value beyond them by enumerating outputs (results, conditions, assumptions, editable link, share page, PNG) and explicitly stating no account access or order execution.

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?

Three dense sentences, front-loaded with the unit conventions and followed by outputs and safety scope. Almost every clause earns its place, though the opening verb-less phrase is slightly weaker than a direct purpose statement.

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?

An output schema and full annotation set already carry return-shape and safety burden, and the description reinforces this with units and an explicit no-execution note. It is complete enough for an agent to invoke, with the only gap being absent routing guidance versus sibling calculators.

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%, so the baseline is 3. The description consolidates units across parameters (mid/tick in USD, weights in percent, spread/skew/cap in bps) and re-explains skew, but this largely overlaps what the schema already documents per field rather than adding new semantics.

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 opens with "Inventory quotes," which essentially restates the tool name rather than stating a clear verb+resource, and it never distinguishes itself from siblings like spread_and_fees. The unit mapping and return description do convey that this computes inventory-based quotes, so the purpose is inferable but not crisply actionable.

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?

There is no when-to-use guidance, no conditions, and no reference to sibling tools such as spread_and_fees. The line "No account access or order execution" scopes behavior but does not tell the agent when to pick this tool over alternatives.

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