Skip to main content
Glama

market_invoke_tool

Run one market_search capability on the free trial tier, returning output plus a hub-signed receipt nonce for verification; report HTTP 402 when trial invokes run out.

Instructions

Run one capability from market_search on the hub's free trial tier.

Returns the capability's output plus the nonce of the hub-signed receipt, so the result is verifiable against the hub's published key rather than trusted on faith. A few trial invokes are granted per installation; after that the hub answers 402 and this reports that instead of fabricating a result. Paid access needs an on-chain escrow deposit, which is an operator action and deliberately not available here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoInput object for the capability; omit or {} when it takes none.
product_idNoThe product_id from market_search, e.g. 'prod-skopos'. Inferred from the capability_id prefix when empty, which is often wrong — pass it.
source_hubNoThe source_hub from market_search, when it showed one. Required for federated capabilities — most of the catalogue; without it the hub looks for the capability locally and answers 404.
capability_idYesExact capability_id from market_search, e.g. 'skopos.fleet.status@v1'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden and does so well: it discloses the trial quota per installation, that exhaustion returns 402 and is reported rather than faked, and that results come with a hub-signed receipt nonce verifiable against the published key. It does not disclose possible side effects of the invoked capability, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the core action, and every sentence earns its place: trial tier, verifiability, quota/402 behavior, paid-access exclusion. No filler or repetition of the schema.

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

Completeness5/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 spelled out, and the description covers the operational essentials an agent needs (quota limits, error semantics, verifiability, paid-path exclusion) alongside fully documented parameters.

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 parameters (including the non-obvious product_id and source_hub federation caveats) are already documented. The description adds no parameter-level guidance beyond the schema, so the baseline of 3 applies.

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?

States a specific verb+resource with scope: 'Run one capability from market_search on the hub's free trial tier.' It explicitly grounds the tool against the sibling market_search_tool (this invokes what that one discovers), so an agent can distinguish them without opening schemas.

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?

Clear context: use after market_search, on the free trial tier, and a when-not (paid access requires on-chain escrow, deliberately unavailable here). It does not name an alternative tool to use for paid access, but the trial/no-trial boundary is well stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.