Skip to main content
Glama

Heuristic Solidity linter for a snippet or file: unchecked

agent_intel_smart_contract_linter_audit
Read-only

Heuristic Solidity linter for a snippet or file (up to 60000 characters): unchecked low-level call/send/delegatecall, value-sending external calls before a storage write (possible reentrancy), arithmetic under pragma below 0.8.0 (overflow risk), and public or external state-changing functions without a visible owner or sender check, with line numbers. Not an audit; misses most real bugs. Related tools on this server, for a different need: agent_intel_smart_money_inflow_tracker when you need to find the top-ROI accounts on Hyperliquid's public perp. Price: $0.004 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "source": "<source>"
    },
    "name": "agent_intel_smart_contract_linter_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSolidity source text, 10 to 60000 characters

Output Schema

NameRequiredDescriptionDefault
noteNo
countsNo
sourceNo
verdictNo
findingsNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld, but the description goes further: it discloses the cost model ($0.004 per successful call, failed calls free), the x402/USDC payment mechanism across multiple chains, the input size ceiling, line-numbered output expectations, and an honest false-negative disclaimer. That is material behavior an agent needs before invoking a paid 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?

The core capability is front-loaded in a dense but readable first sentence, and the pricing caveat is properly appended. The 'Related tools... top-ROI accounts on Hyperliquid's public perp' clause is an unrelated promotional aside that does not help an agent decide to lint Solidity.

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

Completeness5/5

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

For a one-parameter, read-only analysis tool with an output schema, this covers everything an agent needs: scope, checks performed, size limits, known limitations, and cost. Return-value formatting is correctly left to the output schema.

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 parameter with 100% schema description coverage, so the schema already documents the 10–60000 character range. The description adds only the useful framing that the value may be a snippet or a whole file; otherwise it repeats the length limit already in the schema.

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 verb and resource ('Heuristic Solidity linter for a snippet or file') and then enumerates the exact checks it performs: unchecked low-level calls, reentrancy-adjacent value-sending calls, pre-0.8.0 arithmetic, and missing owner/sender checks. An agent can distinguish this from audit-style tools because the description explicitly calls it heuristic and not an audit.

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?

Gives clear context for use (a snippet or file up to 60000 characters) and an explicit exclusion: 'Not an audit; misses most real bugs.' However, the only named alternative is a Hyperliquid smart-money inflow tracker, which is not a genuine substitute for linting, so there is no real routing guidance between competing analysis tools.

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