Skip to main content
Glama

get_peg

Read-only

Stablecoin peg status: live price and deviation in basis points from $1.00 ($0.05 USDC per call). First call (no payment_signature) returns the payment challenge; pay the exact USDC on Solana, then call again with payment_signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesOne of: usdt, usdc, usde, dai
payment_signatureNoOptional. Omit on the first call to receive the payment challenge. After sending the exact USDC amount on Solana mainnet to the pay_to wallet, call again with this set to the Solana transaction signature of your payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, and the description adds real behavioral context beyond that: per-call cost of $0.05 USDC, settlement on Solana mainnet, and the challenge-then-retry protocol. It doesn't cover failure modes (e.g., what happens on underpayment or an invalid signature), which keeps it short of a 5.

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

Conciseness4/5

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

Two sentences, both load-bearing, with the purpose front-loaded ahead of the payment mechanics. The second sentence is dense but each clause (challenge, pay, retry with signature) is necessary.

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?

With no output schema, the description carries the return-value burden and does so ('live price and deviation in basis points from $1.00'). Cost and the payment handshake are covered; error handling and whether the challenge expires are not, but nothing needed for a correct call is missing.

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 description coverage is 100%: both symbol (with allowed values) and payment_signature are fully documented in the schema. The description restates the payment flow but adds no format or constraint detail beyond what the schema already provides, so the baseline 3 applies.

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?

States a specific resource and payload: stablecoin peg status with live price and deviation in basis points from $1.00. An agent immediately knows what it returns, though it never distinguishes itself from siblings like get_price or get_monitor_pegs, which could plausibly overlap.

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?

Explicitly sequences the two-call payment flow: omit payment_signature first to get the challenge, then call again with the signature after paying. Clear operational context, but no guidance on when to pick this over get_price vs get_monitor_pegs.

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