Skip to main content
Glama

line

line

Opens a line: calls on it spend bought time and carry no payment. op: open {channelId} takes the channelId buy_time returned and answers {nonce, sign}; sign the text in sign with the payer key (EIP-191, personal_sign); prove {channelId, nonce, signature} returns the credential; on, off, status, close {credential}. Time burns only while a call runs; an open websocket subscription burns the whole time it is open. Example: {"op":"open","channelId":""}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYesopen, prove, on, off, status or close
nonceNothe nonce open returned; prove
channelIdNothe channel that pays; open and prove
signatureNothe payer key over the message open returned; prove
credentialNothe credential prove returned; on, off, status, close

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
opNo
signNo
nonceNo
msSpentNo
meteringNo
channelIdNo
credentialNo
msReturnedNo
msRemainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true). The description adds genuinely useful behavioral context beyond that: which key to sign with (EIP-191 personal_sign) and, importantly, that time burns only while a call runs whereas an open websocket subscription burns continuously. It does not cover failure/rejection behavior or rate limits, so it is solid but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact in total length but written as a single run-on block of telegraphic fragments ('op: open {channelId} takes the channelId buy_time returned and answers {nonce, sign}') with no line breaks or grouping, forcing the reader to reparse. The trailing JSON example earns its place, but the structure does not front-load the lifecycle clearly.

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?

This is a complex six-op state machine, and the description covers the open→prove→use→close sequence plus billing semantics. With annotations present and an output schema available for return values, the definition is close to self-sufficient; only error/edge-case behavior 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 would be 3. The description goes beyond the schema by binding each optional parameter to specific op values (nonce/signature to prove, credential to on/off/status/close) and by specifying the signing standard (EIP-191, personal_sign) for the signature parameter, which the schema does not state.

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 opening sentence states the resource (a line/channel) and the lifecycle behavior ('calls on it spend bought time and carry no payment'), and the op list names the concrete operations. It is distinguishable from siblings like buy_time and call_rpc, though the dense telegraphic phrasing makes the core purpose harder to extract than it needs to be.

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?

The description lays out the flow: open takes the channelId that buy_time returned, prove consumes open's {channelId, nonce, signature}, and on/off/status/close consume the credential. That sequence gives real when-to-use context and implicitly points at buy_time as a prerequisite, but it never states when not to use the tool or what happens on misordering.

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