Skip to main content
Glama

Run a paid tool (x402)

siro_call

Runs one Siro resource and pays its exact USD price over x402, in USDG on Robinhood Chain or USDC on Solana, Base, Arbitrum or Polygon. Send a signed x402 v2 PaymentPayload in params._meta["x402/payment"]; without it the tool returns isError with the payment requirements (price, networks, payTo) to sign. The work runs before the payment settles, so failed calls are never charged; a successful call returns the result plus a receipt with the transaction hash in _meta["x402/payment-response"]. Agents without an x402 wallet can use the Siro CLI (siro mcp), which pays automatically within spending caps.

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": {
      "resource": "<resource>"
    },
    "name": "siro_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoInput object matching the resource's schema from siro_resource_schema, e.g. {"network":"base"}.
resourceYesResource id from siro_resources, e.g. "gas-now".

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?

Annotations only say readOnlyHint=false and openWorldHint=true; the description goes far beyond them by disclosing the payment protocol version and payload location, the currencies and chains supported, that work executes before settlement so failed calls are never charged, and where the transaction receipt appears. It also documents the error-mode contract (payment requirements returned on failure), which no annotation conveys.

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 purpose, then payment mechanics, then failure/charge semantics, then the CLI fallback. Each sentence carries distinct, actionable information with no filler or restatement of the name.

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?

There is no output schema, so the description carries the return-value burden and does so precisely: result plus a receipt with the transaction hash in _meta["x402/payment-response"]. For a two-parameter tool with nested input and an unusual payment handshake, nothing an agent needs in order to call it correctly 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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema cannot: the undocumented params._meta["x402/payment"] carrier that must hold a signed x402 v2 PaymentPayload. It does not explain the input object beyond pointing at siro_resource_schema, which is acceptable since that schema varies per resource.

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 opening sentence names a specific verb and resource ("Runs one Siro resource") and adds the defining trait that separates it from every sibling: it pays the resource's exact USD price over x402. An agent reading only this line knows this is the execution/payment tool, not a discovery or schema tool.

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 clearly states the condition for a successful call (a signed x402 v2 PaymentPayload in params._meta["x402/payment"]) and what happens without one (isError with payment requirements to sign), plus routes wallet-less agents to the Siro CLI. What is missing is an explicit sequencing statement telling the agent to call siro_resources before this to obtain the resource id; that is only implied through the parameter descriptions.

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