Skip to main content
Glama
Base Contract Auditor MCP Server

Base Contract Auditor MCP Server

get_payment_info

Retrieve x402 payment parameters needed to unlock a contract audit, including the 0.50 USDC fee, Base vault address, and official Base USDC contract.

Instructions

Retrieves the x402 payment parameters required to unlock a contract audit: fee (0.50 USDC), Base vault address, and official Base USDC contract.

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

Input Schema

NameRequiredDescriptionDefault
contract_addressNoOptional smart contract address you plan to audit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the concrete return contents (0.50 USDC fee, Base vault address, official Base USDC contract) and implies a read-only retrieval, but it does not mention auth needs, rate limits, or whether the fee varies by contract.

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 definition is a single efficient sentence that front-loads the action and then lists the key returned values. Every part earns its place, with no filler.

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?

For a simple read tool with no output schema, the description adequately explains what the tool returns and why it matters in the audit workflow. It could be slightly more complete by clarifying how the optional contract_address affects the payment parameters, but the core context is present.

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?

There is one optional parameter, contract_address, and schema description coverage is 100%, so the schema already explains its meaning. The description does not add any parameter-specific guidance, which is acceptable at baseline 3 when schema coverage is complete.

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?

The description uses a specific verb and resource: it retrieves x402 payment parameters needed to unlock a contract audit, and it names the returned items (fee, Base vault address, USDC contract). It is clear what the tool does, though it does not explicitly differentiate itself from the sibling tools audit_contract and check_service_status.

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?

The phrase 'required to unlock a contract audit' gives clear usage context: an agent should call this before auditing a contract. It does not explicitly name alternatives or state when not to use it, but the intended workflow is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.