Skip to main content
Glama
aibtcdev
by aibtcdev

inference_register_provider

List your OpenAI-compatible model endpoint on the AIBTC Inference Marketplace to earn sBTC or USDCx per request. Signs and verifies signature, endpoint reachability, and model ids before listing.

Instructions

List an OpenAI-compatible model endpoint on the AIBTC Inference Marketplace and get paid a flat price per request that you set, in sBTC (default) or USDCx. Signs a registration message with the unlocked payout wallet (proving ownership) and POSTs it. The gateway verifies the signature recovers to payoutAddress, that the endpoint is reachable AND actually serving inference, and that model ids are real/commercial Hugging Face repos — then lists it. Requires an unlocked wallet on the gateway's network.

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for your node, e.g. "Alice's Qwen node".
apiKeyNoOptional: a key your endpoint requires. Locks the endpoint so only the gateway (which presents it) can call it.
modelsYesHugging Face repo ids you serve, e.g. ["Qwen/Qwen2.5-7B-Instruct"].
gatewayNoMarketplace gateway base URL. Defaults to https://inference.aibtc.com. Use http://localhost:8787 for local dev.
endpointYesOpenAI-compatible base URL, e.g. https://my-host/v1 (must expose /models and /chat/completions).
acceptedTokenNoToken callers pay in: sBTC (default) or USDCx. Sets the unit of pricePerRequest.
payoutAddressNoStacks address that receives sBTC. Defaults to the unlocked wallet's address (must match the gateway network).
pricePerRequestYesFlat price per request, as a whole number in the accepted token's base unit: sats for sBTC ("5" = 5 sats), 0.000001 USDCx for USDCx ("2000" = 0.002 USDCx). No decimals.
allowUnsafeGatewayNoAllow a gateway host outside localhost / *.aibtc.com. Required to send wallet-signed headers (and any apiKey) to an arbitrary host — leave unset unless you deliberately self-host the gateway.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A4.1/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 burden and does so well: it explains the signing flow (wallet signs registration message proving ownership), the server-side POST, and the full verification chain (signature recovers to payoutAddress, endpoint must be reachable AND actually serving inference, model ids must be real/commercial HF repos). It omits failure behavior and whether re-registering an existing endpoint is idempotent or an error.

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 core mechanism is front-loaded in the first two sentences and the wallet requirement is stated separately at the end. The trailing 'Tip: call earning_opportunities' is mildly promotional but short and plausibly useful cross-selling context.

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?

For a 9-parameter, 4-required mutation with no annotations and no output schema, the description covers the mechanism, ownership proof, and validation gates thoroughly. The remaining gap is the return value — it never says what the agent gets back (provider id, listing URL, tx hash) — which matters more here because no output schema exists.

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 the baseline is 3. The description reinforces the two highest-impact semantics — acceptedToken defaults to sBTC and sets the unit of pricePerRequest — but leaves gateway, payoutAddress, apiKey, and allowUnsafeGateway entirely to the schema, adding little beyond it.

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 (register/list a model endpoint) on a named resource (AIBTC Inference Marketplace), plus the economic effect (flat price per request you set, paid in sBTC or USDCx). An agent can distinguish this from inference_list_providers (read), inference_update_provider (mutate), and inference_check_provider (verify) without opening any schema.

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?

Gives clear preconditions: an unlocked wallet on the gateway's network, and a pointer to earning_opportunities for related discovery. However, it never explicitly routes the agent away from inference_update_provider (for changing an existing listing) or tells it to check inference_list_providers first to avoid duplicate registration.

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

Deploy Server

Other Tools