Skip to main content
Glama
Modexia

Modexia

Official
by Modexia

consume_channel

Make instant, gas-free micro-payments within an open channel. Call repeatedly to pay as needed without additional fees.

Instructions

Execute an instant, gas-free micro-payment inside an already open channel. Call this as many times as needed while the channel is open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
channel_idYes
idempotency_keyNo
Behavior3/5

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

No annotations are provided, so the description must carry behavioral disclosure. It does reveal that payments are instant, gas-free, and repeatable. However, it omits side effects (like deducting from channel balance), failure modes, or what happens if the channel is not open.

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?

Two sentences, front-loaded with the core action and a clear usage note. Zero filler words, every phrase contributes to understanding.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 3 parameters (2 required), no output schema, and no annotations, the description is too thin. It does not explain parameter semantics, idempotency, error handling, or return behavior. It is a minimal purpose statement, not a complete usage guide for a payment mutation tool.

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

Parameters2/5

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

Schema description coverage is 0%. The description only indirectly implies 'amount' via 'micro-payment' and 'channel_id' via 'channel,' but provides no details about types, values, or the idempotency_key parameter. It does not compensate for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Execute an instant, gas-free micro-payment inside an already open channel.' It clearly distinguishes the tool from open_channel and settle_channel by requiring an already open channel, though it does not explicitly name sibling alternatives like nanopay or transfer.

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?

'Call this as many times as needed while the channel is open' gives clear context for repeated use during an open channel. It does not state when NOT to use it or compare with alternatives, so it misses explicit exclusion guidance for a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Modexia/modexia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server