Skip to main content
Glama

cinqueport-ctcc-mcp

ctcc_check

Deterministic pre-flight LLM token & budget circuit breaker ($0.002 USDC via x402 on Base Mainnet; 5 free daily sandbox calls <= 8 KB). Also supports Base Mainnet ERC-20 contract inspection.

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": "ctcc_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoTarget model (e.g. gpt-4o, claude-3.5-sonnet, gemini-3.1-pro)
promptNoPrompt text to meter before calling an LLM
addressNoOptional Base Mainnet contract address (0x + 40 hex chars)
messagesNoOptional chat messages array [{role, content}]
budget_usdNoOptional max USD budget threshold
max_output_tokensNoExpected output tokens (default 1024)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does supply valuable behavior: cost ($0.002 USDC via x402 on Base Mainnet), a free daily sandbox quota with an 8 KB cap, and determinism. It omits what the tool actually returns (a pass/fail verdict, token estimate, or cost figure), what happens when the budget is exceeded, and whether a wallet/signature is required for the x402 payment.

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?

A single dense sentence with no filler, and the primary function is front-loaded ahead of the secondary mode. The parenthetical pricing and quota details make it slightly hard to parse but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no annotations and no output schema, the description should say more about the two disjoint modes and the returned decision. As written, an agent knows the cost model and limits but not how to interpret the result or whether the address mode bypasses metering.

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 baseline is 3; the description adds only marginal meaning, mainly tying the address parameter to ERC-20 contract inspection and implying the prompt has an 8 KB ceiling. It never explains how model, prompt, messages and max_output_tokens combine into the metering calculation.

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?

Names a specific function (pre-flight token & budget check / circuit breaker) plus a secondary ERC-20 inspection mode, so an agent can tell what it does. It does not differentiate itself from the sibling ctcc_optimize, so it stops short of a 5.

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

Usage Guidelines3/5

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

The word "pre-flight" implies it should be called before an LLM request, and the free-tier limit (5 daily sandbox calls <= 8 KB) hints at a sandbox testing path. However, there is no explicit when-not guidance, no routing to ctcc_optimize, and no statement of when the ERC-20 mode applies versus the metering mode.

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.