Skip to main content
Glama

Magneta Contract Risk

contract_risk_summary

On-chain smart-contract risk report (score 0-100, proxy, owner, risky selectors, source verification, static analysis). Costs $0.02 in USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesContract address (0x...)
chainIdYesEVM chain id

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 it does disclose a meaningful behavioral trait: the call costs $0.02 in USDC via x402, plus the shape of the returned payload. However, it says nothing about the payment flow — whether payment is required before the call, what happens on insufficient funds, or error/retry behavior — which matters for a paid endpoint.

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?

Two tight sentences, zero filler, front-loaded with the report contents and back-loaded with the cost. Every clause conveys information an agent needs.

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 usefully enumerates the return fields and the payment requirement, and the input schema fully covers both parameters. It is nearly complete; the remaining gap is payment/error mechanics, which are not addressed.

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% with two well-documented required parameters (address pattern, chainId), so the schema already does the work. The description adds no parameter-level detail beyond what is in the schema, which is the expected baseline 3.

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 resource (on-chain smart-contract risk report) and enumerates the report's contents (score, proxy, owner, risky selectors, source verification, static analysis), so an agent knows exactly what it retrieves. It is clearly distinct from the only sibling, supported_chains. It lacks a leading verb, but the purpose is unmistakable.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance; the only cue is an implied 'call this to get a risk report.' No prerequisites beyond the price, no mention of how it relates to supported_chains (e.g., use that first to resolve a valid chainId).

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.