Skip to main content
Glama

solidity_triage

Deterministic + Gemini Solidity static security triage ($0.05 Base USDC). Detects reentrancy, tx.origin, delegatecall, stale Chainlink oracle, unchecked calls.

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": {
      "sourceCode": "<sourceCode>"
    },
    "name": "solidity_triage"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceCodeYes
contractNameNoVaultSample

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It helpfully discloses the hybrid deterministic/Gemini method and the $0.05 Base USDC cost, plus the vulnerability classes covered, but it does not explain permissions/payment flow, whether source code is retained, rate limits, or what the result looks like.

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?

Two dense sentences front-load the purpose and detection scope with little wasted wording. The parenthetical cost is useful but the phrase 'Deterministic + Gemini' is slightly compressed for an agent unfamiliar with the implementation.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and 0% schema description coverage, the definition is too thin on parameter meaning and return behavior. It is good on purpose and detection coverage but incomplete for safe and correct invocation.

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

Parameters1/5

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

Schema description coverage is 0%, so the description should explain the two parameters, but it never mentions sourceCode or contractName. The required Solidity source and optional contract name are left entirely to the bare schema property names and examples.

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?

The description uses a specific verb phrase ('static security triage') and a specific resource ('Solidity' source), and it lists the exact vulnerability classes it detects. It does not explicitly distinguish this tool from its siblings, but the purpose is specific enough that an agent can select it for Solidity security review.

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, and no alternatives are named. The detection list implies it is appropriate when those Solidity vulnerabilities are being investigated, but the agent must infer that context.

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