Skip to main content
Glama

contract_flags

What can the owner of a contract on Base or Arc do to holders? Mint, pause, blacklist, fees, limits, trading switch, upgradeable proxy, and who owns it, read from the bytecode. $0.004 per call over x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesbase or arc
addressYesthe contract address (0x...)
paymentNoa signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 burden. It does disclose meaningful behavior: the analysis is derived from bytecode, supports Base/Arc, costs $0.004 per call over x402, and the payment param completes the purchase inline. It says nothing about latency, caching, rate limits, or what happens on unsupported contracts, leaving real gaps for a paid read tool.

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 compact sentences: a framing question plus the list of flags, then the pricing line. Front-loaded and free of filler. The rhetorical question opener is slightly unusual but earns its place by orienting the reader to the use case.

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 compensates by enumerating the flags returned. Combined with 100% schema coverage on all three params and the explicit price/payment note, an agent has nearly everything needed to call it. Only the response shape and error behavior remain 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 description coverage is 100%, so the schema already documents chain, address, and payment. The description reinforces chain scope (Base or Arc) and the x402 payment/pricing model but adds no format or validation detail beyond the schema. Baseline 3 is appropriate.

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 gives a specific verb+resource: it answers what a contract owner can do to holders (mint, pause, blacklist, fees, limits, trading switch, upgradeable proxy, ownership) read from bytecode. The enumerated flag set makes the tool's scope concrete. It does not explicitly differentiate itself from adjacent siblings like arc_contract_check or arc_token_check, so it falls 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?

Usage is implied — call this when you want to assess the owner's powers over a token contract on Base or Arc. There is no explicit when-not guidance and no named alternative for related checks, so the agent must infer the right moment to reach for it versus contract_check or token_check.

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