Skip to main content
Glama

X402 Git

Latest version and this wallet's price

check_version
Read-only

Wraps GET /api/v/:owner/:slug. The cheap call to make before every run: the latest version, when it was published, and the price. With wallet_signature it also answers what that wallet already owns and what the next fetch would cost it — price_kind is new, update, free or owned. Without one it never reveals what any address owns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe listing slug, e.g. `humanizer`.
ownerYesThe creator handle, e.g. `adrian`.
wallet_signatureNoAn `X-Wallet-Signature` value: `<address>.<nonce>.<signature>`, where the nonce comes from `POST /api/auth/challenge` and the signature is EIP-191 over the challenge message. Single use.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
ownedNoOnly with a wallet signature: the newest version this wallet holds.
ownerYes
latestYes
statusYes
entitledNoOnly with a wallet signature: true when the next fetch is free.
price_kindNo
price_microYesMicro-USDC. `9000000` is $9.00.
all_versionsNo
published_atYes
releases_urlYes
resource_endpointYes
update_price_microYes`0` means updates are included for life once bought (FR-16).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses endpoint binding, cost expectations ('cheap call'), conditional behavior with wallet_signature, and the privacy guarantee that address ownership is never revealed without it. It also enumerates the possible price_kind values, which is valuable runtime context.

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?

Three dense sentences carry all the essential information with no filler. The endpoint and core value are front-loaded, and the optional-signature caveat is clearly separated at the end.

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?

Given the readOnly annotations, an output schema, and full parameter coverage, the description provides everything needed to call and interpret the tool: the path, the data, the optional auth-like parameter, and the privacy boundary. Nothing essential is missing.

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?

Schema description coverage is 100%, so the baseline is already strong. The description adds the key semantic link that wallet_signature changes the response semantics, and it implicitly maps owner/slug to the URL path. This exceeds baseline without needing to compensate for sparse schema.

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 states a specific operation ('Wraps GET /api/v/:owner/:slug') and the exact data it returns: latest version, publication time, and price. It also clarifies the optional wallet_signature mode, which changes the response to include ownership and price_kind, separating it from the listing/purchase sibling tools.

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 a clear usage context: 'the cheap call to make before every run.' It also warns that without wallet_signature the API never reveals address ownership, which guides call construction. However, it does not explicitly name sibling alternatives or state when to prefer them.

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