Skip to main content
Glama

FMF Tools Utilities

tempo_peg

Tempo stablecoin peg monitor (DEX quotes) ($0.002 per call, paid via MPP on Tempo). Live peg check for every Tempo stablecoin from on-chain Tempo DEX quotes against pathUSD: sell and buy price for a chosen size, mid, deviation in basis points, spread, liquidity status, and an off-peg flag. Read directly from the DEX precompile, no third-party price feed. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/tempo/peg. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tempo_peg"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoquote size in tokens (default 100)
threshold_bpsNoflag tokens off peg beyond this (default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the $0.002 per-call cost, the MPP payment requirement, that payment is not settled by the wrapper, and that prices come straight from the DEX precompile with no third-party feed. It omits failure/error behavior and rate limits, 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?

The sentence listing the outputs is front-loaded and dense with useful detail, and the payment caveat follows logically. The raw endpoint URL and payment plumbing add length, though they earn their place for the alternative HTTP route.

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?

No output schema exists, and the description compensates by enumerating every returned field, plus cost and auth handling, which is what an agent needs to invoke a paid endpoint correctly. Only error and retry behavior are left unspecified.

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 both parameters are already documented, and the description only echoes them indirectly via 'for a chosen size' and the off-peg flag. No units, defaults, or edge-case behavior are added beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource: a live peg check for every Tempo stablecoin using on-chain DEX quotes against pathUSD, with enumerated outputs (sell/buy price, mid, deviation bps, spread, liquidity status, off-peg flag). Nothing about it overlaps with siblings like tempo_gas or tempo_tx, and an agent can tell what it returns without opening the schema.

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?

Gives clear invocation context and routing: call this MCP wrapper with an MPP Payment Authorization header, or use mppx against the HTTP route, since the wrapper does not settle payment itself. It does not state when NOT to use it or contrast it with any sibling, but the scope is narrow enough that the context is unambiguous.

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