Skip to main content
Glama

scan_solidity_findings

OPTIONAL, PAID ($0.25 USDC via x402 on Base or Solana). Agent tier: every Slither finding for Solidity with detector, impact, confidence, Slither's description and file/line locations, as JSON; each finding's scope is "application" or "dependency". scan_solidity_full ($1.00 USDC) adds a plain-English explanation and fix for every finding plus PDF and SARIF report files. Without a valid x402 payment in _meta['x402/payment'] it returns the payment terms and does NOT scan or charge. Charged only after a successful scan. Pay only with your user's explicit authorisation and within their spending limits.

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": {
      "sources": "<sources>"
    },
    "name": "scan_solidity_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourcesYes

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?

Annotations declare readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is already partly covered, but the description adds substantial context they don't: the price, the payment channel (x402 on Base or Solana), that an unpaid call returns payment terms and does not scan, and that charging happens only after a successful scan. The one residual gap is that it never says what happens if the scan fails mid-way or whether retries re-charge, which matters given idempotentHint=false.

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?

Front-loads the essential qualifier (OPTIONAL, PAID, price) and then moves through tier contents, the upsell alternative, the failure path, and the authorization caveat with no filler. The first sentence is long and carries many clauses at once, but every clause is load-bearing, so no real waste is present.

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

Completeness3/5

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

For a paid, open-world tool it covers pricing, payment gating, charge timing, and the returned findings fields, and it correctly notes the 'application' versus 'dependency' finding scope. However, with no output schema and no explanation of the required 'sources' input, an agent still cannot construct a correct call from the definition alone, which is a meaningful completeness gap relative to this tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single required parameter 'sources' is a nested object with additionalProperties of type string and 0% schema description coverage, so the schema explains nothing about its shape. The description never mentions 'sources' at all, leaving an agent to guess whether it is a filename-to-source map, a URL map, or addresses, which is exactly the case where the description must compensate.

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: returns every Slither finding for Solidity, enumerating the exact fields (detector, impact, confidence, description, file/line) and the JSON format. It explicitly distinguishes itself from scan_solidity_full by contrast, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Explains when to pick this tier (agent tier, cheaper, findings-only) versus scan_solidity_full ($1.00, adds plain-English explanations, fixes, PDF/SARIF), and gives the prerequisite that a valid x402 payment must be present in _meta['x402/payment']. It also states the fallback behavior when payment is absent, which is a concrete usage condition rather than an inference.

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