Skip to main content
Glama

Magma liquidity

magma_liquidity

Structured live Magma data in one call. No Node or GraphQL setup. Paid from the credit balance. 1 sat ≈ $0.0008 from the credit balance.

Input Schema

NameRequiredDescriptionDefault
queryNoquote, offer_book, or node.quote
max_satsNoMost this call may charge. Minimum 1. A higher total charges nothing.
connection_uriNoNode pubkey or pubkey@host:port. Required when query is node.

Output Schema

NameRequiredDescriptionDefault
codeNoapproval_required, limit_exceeded, or insufficient_balance.
paidNo
whichNoper_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats.
statusNo
messageNo
quoteIdNo
resultsNoSearch rows when this is a search result.
totalCostNo
totalSatsNo
approvalUrlNoPage where the person approves this exact price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior3/5

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

The description adds real behavioral context beyond annotations: calls are billed against the credit balance and priced at roughly 1 sat ≈ $0.0008. That explains why readOnlyHint=false despite the read-like nature (the call spends money). It does not disclose latency, caching, or failure/refund behavior in a paid context.

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 short and front-loaded, but 'Paid from the credit balance' is stated twice in slightly different words, wasting one of only four sentences. The redundancy signals padding rather than precision.

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?

An output schema exists, so return values need not be spelled out, but this tool has three distinct query modes (quote, offer_book, node) with different semantics and a paid-spend model, and the description explains none of the mode differences or billing edge cases. Given that complexity, it is under-specified.

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 coverage is 100%, so the enum values and max_sats/connection_uri semantics are already documented in the schema. The description adds no parameter meaning at all, so the baseline 3 applies.

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

Purpose2/5

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

The description offers a marketing tagline ('Structured live Magma data in one call') rather than a specific verb+resource statement. It never says what Magma is, what the three query modes return, or how it differs from close siblings like magma_buy or lightning_liquidity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'No Node or GraphQL setup' hints at an alternative to self-hosting, and the credit-balance mention implies a paid call, but there is no explicit when-to-use, when-not-to-use, or sibling routing. An agent choosing between magma_liquidity, magma_buy, and lightning_liquidity gets no help here.

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