Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

composite_inventory_precheck

FREE pre-check (100/day per wallet; pass caller): input validation and the full load-state / assessability disclosure, before any payment. No answer entries are produced.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "caller": "<caller>",
      "topic": "<topic>"
    },
    "name": "composite_inventory_precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsNoLeg ids to include; defaults to all cleared legs.
topicYesThe topic to look up in each requested leg.
callerYesSolana base58 wallet of the operator; keys the free allowance (100/day per wallet).
question_classNoOptional question class for the lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the free tier (100/day per wallet), requires the caller wallet to key that allowance, states that only input validation and load-state/assessability disclosure occur, and explicitly says no answer entries are produced. It leaves some ambiguity about side effects and the exact content of the disclosure, but the critical cost and output-shape behavior is surfaced.

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?

The definition is compact and front-loads the most important facts: FREE, rate limit, required caller, purpose, and no answer output. The parenthetical and semicolon make it slightly dense, but every phrase contributes relevant information.

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?

For a four-parameter pre-check tool with no output schema, the description covers the free allowance, caller requirement, validation purpose, and lack of answer entries. However, the main output — 'full load-state / assessability disclosure' — is left as unexplained jargon, and the relationship to the sibling lookup and criteria tools is only implied.

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 all four parameters are already documented in the input schema. The description reinforces that 'caller' keys the free allowance, but it adds no additional meaning for topic, legs, or question_class beyond what the schema already says. Baseline 3 is appropriate.

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?

The description clearly states this is a pre-check performing input validation and a load-state/assessability disclosure before payment, and it explicitly notes that no answer entries are produced. This distinguishes it from the sibling composite_inventory_lookup, which presumably returns answers, but it does not name that sibling directly.

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?

The phrase 'before any payment' implies when to use this tool, and the free allowance context helps the caller understand the cost tradeoff. However, there is no explicit instruction to use this before composite_inventory_lookup or composite_inventory_criteria, and no exclusion guidance for cases where the pre-check is unnecessary.

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