Skip to main content
Glama

review

Ask a real LLM for a second opinion on a single security finding and code snippet, using local Ollama or a hosted provider.

Instructions

Ask a real LLM to review one finding and a small code snippet.

The snippet is sent to the selected provider. Use provider=ollama to keep it on this machine. The default is local Ollama first, then OpenRouter.

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": {
      "finding": "<finding>",
      "code_context": "<code_context>"
    },
    "name": "review"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
findingYes
providerNoauto
code_contextYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and discloses an important trait: the snippet is sent to the selected provider. It also explains the local Ollama option for privacy and the default fallback order from local Ollama to OpenRouter. It does not cover authentication, rate limits, or whether the finding is modified, but the key external-transmission behavior is made explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded, and every sentence contributes useful information. The purpose appears first, followed by the data-transmission note and provider guidance, with no redundant wording.

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?

An output schema exists, so the description need not explain return values, and it does well to disclose external transmission and provider fallback. However, for a tool with a required nested finding object and a model parameter, the description does not explain how to construct the finding or what model controls. That is a significant completeness gap for correct invocation.

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?

Schema description coverage is 0%, so the description must compensate, but it only partially does so. It clarifies provider behavior with 'provider=ollama' and the local-first default, and it identifies code_context as a small code snippet. It says nothing about the model parameter, and it does not explain the required nested finding object, leaving two of four parameters semantically thin.

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 states a specific verb and resource: asking a real LLM to review one finding plus a small code snippet. That is clear enough for an agent to understand the core operation. It does not explicitly distinguish itself from siblings such as scan, so it falls short of a 5.

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 implied by the phrase 'review one finding and a small code snippet,' and the provider guidance gives practical context. However, there is no explicit statement of when to use this tool versus alternatives, nor any exclusions or prerequisites. This is adequate but leaves routing decisions to inference.

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

Deploy Server

Other Tools