Skip to main content
Glama

Contract Static Scan

contract_static_scan
Read-only

Run static analysis on Solidity code using Slither, normalize detector outputs into candidate findings for further review. Results are unverified candidates that need a proof-of-concept before submission.

Instructions

Run Slither over a Solidity project and normalize the detector output.

repo is a path inside the engagement workspace. Analysis is local: no network request is made and no contract is executed, which is why this is passive and costs no budget.

Every result is a CANDIDATE. Slither's high-impact detectors fire on safe code often enough that a finding without a runnable PoC is not submittable on any platform that pays for smart-contract bugs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
exclude_informationalNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.1.0

TDQS

B3.3/5.0
Behavior1/5

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

Description explicitly states 'no network request is made' and 'Analysis is local', while annotations include openWorldHint: true, which typically indicates possible external/world interaction. This contradiction undermines transparency, so score is 1 despite additional candidacy caveats.

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 description is clear and well-structured, with the core purpose in the first sentence and additional context in short paragraphs. The candidacy warning is somewhat verbose but relevant and useful.

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 an output schema present, the description sufficiently covers input, behavior, and the safety/profile of the tool. It could be slightly more explicit about what 'normalize the detector output' means, but the output schema likely covers that.

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 has no descriptions for the two parameters, but the description explains `repo` as a path inside the engagement workspace. `exclude_informational` is left entirely to inference from its name and default value.

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?

Clearly states it runs Slither over a Solidity project and normalizes detector output. This is specific and distinct from generic audit or scan siblings, identifying both tool and target.

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?

Provides useful context that the analysis is local, passive, and budget-free, and warns that findings are candidates requiring PoC. However, it does not explicitly tell when to choose this over sibling tools like semgrep_scan or contract_toolchain.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamsecure1920/Cordon-AI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server