Skip to main content
Glama

market_invoke

Invoke a capability found via market_search. A few trial invokes are granted per caller with no wallet, key or channel, and each returns the hub's signed receipt; when the allowance is spent the hub answers 402 and this reports that rather than inventing a result. Paid access uses payment_channel (+ secret) and, for escrow channels, a payment_authorization object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoInput object for the capability; {} when it takes none.
product_idYesThe product_id from market_search.
source_hubNoThe source_hub from market_search, when it shows one. Required for federated capabilities — most of the catalogue; omitting it makes the hub look for the capability locally and answer 404.
capability_idYesThe exact capability_id from market_search.
payment_channelNo
payment_authorizationNo
payment_channel_secretNo

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description fully bears the transparency burden. It discloses trial allowance limits, the signed receipt returned, the 402 response after allowance exhaustion, and that the tool reports rather than fabricates results. It also covers the payment parameter requirements. It could be more transparent about side effects or the contents of the receipt, but it is substantially informative.

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 description is two sentences: the first is a crisp statement of purpose, and the second packs trial and payment details into a dense but efficient format. Each clause contributes new information, though the second sentence is long and slightly run-on, which mildly hampers readability.

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 7 parameters, two nested objects, no output schema, and no annotations, the description covers the core behavior: how to invoke, the trial and paid flows, and error reporting on 402. It does not detail the exact structure of payment_authorization or the signed receipt, but the combination of description and schema gives a workable understanding of the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers only 4 of 7 properties with descriptions (57% coverage). The three payment-related parameters (payment_channel, payment_channel_secret, payment_authorization) have no schema descriptions, but the description compensates by explaining their roles in paid and escrow access. It adds meaning beyond the schema, particularly for the undocumented parameters.

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 clearly states the tool's function: to 'Invoke a capability found via market_search.' The verb 'invoke' is specific and the resource is well-defined. It distinguishes itself from the sibling market_search by explicitly tying invocation to a prior search result, making its role unambiguous.

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 explains when to use the tool—after finding a capability via market_search. It also delineates the two access modes: trial invokes (no wallet, key, or channel) and paid access (payment_channel with secret, plus payment_authorization for escrow). However, it does not explicitly state when not to use it or mention exclusions, leaving a slight gap.

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.

TDQS

A4.3/5.0
Disambiguation5/5

The two tools have perfectly distinct roles: market_search finds capabilities, market_invoke executes them. There is no overlap or ambiguity.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with the market_ prefix: market_search and market_invoke. Naming is predictable and uniform.

Tool Count3/5

With only two tools, the set feels thin for a marketplace. While search and invoke are core, additional operations like listing categories or managing payment channels could be expected.

Completeness4/5

The search-then-invoke workflow covers the primary consumer lifecycle well. However, there is no explicit way to view detailed capability information beyond search results, and payment setup is handled externally, leaving minor gaps.