Skip to main content
Glama

get_payment_terms

get_payment_terms
Read-onlyIdempotent

Returns what this server costs and how to pay it: the current x402 quote, the funding and buy_time rows, and the line socket. Not the payment itself. Free, read-only, no arguments. Without a wallet it also returns a block to hand whoever holds a key for you. Not counted against the free ceiling. To pay, attach x402 to call_rpc or any paid tool, or open a line at /pay and buy blocks with buy_time. get_operator says who we are. No key exists. Example: {}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceNo
acceptsNo
free_toolsNo
free_foreverNo
if_you_do_notNo
for_your_humanNo
if_you_already_have_a_funded_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/destructive hints, and the description adds meaningful context: it is free, not counted against a ceiling, and returns a block when no wallet is present. These go beyond structured data and are consistent.

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?

The description is front-loaded with the core purpose, then adds essential details and an example. Every sentence carries information without redundancy, and the structure is easy to parse.

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?

It fully describes the return contents (quote, rows, line socket, optional block) and mentions cost implications. Given the output schema exists and the tool is simple, nothing an agent needs 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.

Parameters5/5

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

With zero parameters, schema coverage is trivially 100%. The description explicitly states 'no arguments' and provides an example '{}', leaving no ambiguity about invocation.

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 description states a specific resource (cost and payment info) and action (returns), and explicitly distinguishes from paying itself ('Not the payment itself'). It also differentiates from siblings like get_operator, making it clear what this tool does.

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

Usage Guidelines5/5

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

It explicitly tells when to use this tool (to get cost/payment info) and when not to (for payment, attach x402 to call_rpc or use buy_time). It also points to get_operator for identity, giving clear alternatives.

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