Skip to main content
Glama

polygon_contract_risk

Use when: is this Polygon contract risky (owner, proxy, mint, pause, blacklist)? Heuristic risk flags for a Polygon contract from free public data: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size, and a flag for copycats of major tokens (USDC, USDT, WETH...) at a non-official address. Not an audit or financial advice. Costs $0.005.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "polygon_contract_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 full burden and does well: it names the data source class (free public data, Sourcify), characterises the output as heuristic flags rather than a verdict, disclaims audit status, and discloses a $0.005 cost. It omits behaviour on failure cases, e.g. what is returned for an unverified or non-contract address, and says nothing about latency or result shape.

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 "Use when:" prefix front-loads the decision cue effectively and the disclaimers/cost are packed tightly at the end. The check list is partially duplicated — owner/proxy/mint/pause/blacklist appear in the opening parenthetical and again in the enumeration — which is mild redundancy rather than wasted text.

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 one-parameter, no-output-schema tool, the description is nearly sufficient: it tells the agent which risk dimensions come back and that the verdict is heuristic, so the lack of an output schema is largely compensated. The main residual gap is error/unverified-contract handling, which an agent may need to interpret an empty or partial result.

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 a single required parameter with 0% schema description coverage, but the schema's 0x-address regex is largely self-documenting. The description adds the meaningful constraint that the address is expected to be a deployed Polygon contract (copycat checks are 'at a non-official address'), yet it does not explicitly bind that to the address field or state what happens if an EOA is passed.

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 subject (a Polygon contract) and enumerates exactly what is assessed: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size, and copycat detection. The Polygon scoping plus the named checks make it easy to separate from sibling *contract_risk tools on other chains and from the broader polygon_address_inspect.

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?

"Use when: is this Polygon contract risky" gives an explicit triggering question, and "Not an audit or financial advice" sets a clear boundary on what the result means. It does not name an alternative (e.g. polygon_address_inspect or token_deep_scan) for adjacent questions, so the exclusions are implied rather than spelled out.

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