Skip to main content
Glama

explain-finding

Retrieve detailed explanations, exploit scenarios, and remediation steps for a specific Solana/Anchor vulnerability pattern using its pattern ID.

Instructions

Get detailed explanation, exploit scenario, and remediation for a specific vulnerability pattern.

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": {
      "pattern_id": "<pattern_id>"
    },
    "name": "explain-finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
pattern_idYesPattern ID (e.g., SOL-C-001)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/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; it does usefully disclose the content of the response (explanation, exploit scenario, remediation), which signals a read-style lookup. It says nothing about behavior when pattern_id is unknown or invalid, and never explicitly states this is a non-mutating read, leaving gaps a bare definition must fill.

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?

One tightly packed sentence with the resource front-loaded and no redundant wording. It is efficient, though the trailing list of deliverables makes it read as an enumeration rather than a prioritized statement of what the agent gets.

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?

For a single-parameter lookup tool with no output schema, the description successfully communicates the return contents and the scope of the lookup. The remaining omission is how the pattern_id is discovered and what happens if it is unknown, which is a modest gap rather than a blocking one.

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 coverage is 100%, and the single parameter's schema description already explains the ID format (e.g., SOL-C-001). The description adds only that the ID refers to a vulnerability pattern, which is marginal value over the structured field, so baseline 3 applies.

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 verb ("Get") and a concrete payload (detailed explanation, exploit scenario, remediation) scoped to a "specific vulnerability pattern". That is enough to distinguish it from list-patterns and generate-fix, but the description never explicitly states the contrast, so the agent must infer it from the sibling names.

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?

Usage is only implied: reach for it when you want an explanation, exploit scenario, or remediation for a known pattern. There is no explicit when-not, no statement that pattern_id must come from list-patterns first, and no guidance on preferring generate-fix when a concrete patch is wanted.

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