Skip to main content
Glama

Run a confirmed review

confirm_review

Run a quoted review at the level the user chose, ONLY after the user confirmed its price. The price is held; what is charged afterwards is never more. If the session's limit would be passed, nothing runs: ask the user, and use approve_more only if they agree. Then poll get_session_findings.

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": {
      "repo": "<repo>",
      "session_id": "<session_id>",
      "review_id": "<review_id>",
      "level": "<level>"
    },
    "name": "confirm_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe session's repository, "owner/name".
levelYesThe level the user confirmed, one the quote priced.
review_idYesThe review_id of the quote the user confirmed.
session_idYesThe session_id start_session returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, so the description carries the burden of explaining cost behavior. It does: the price is held, the charge is never more, and the call becomes a no-op if the session limit would be exceeded. That is exactly the behavioral context an agent needs before spending money.

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?

Three short sentences, front-loaded with the action and the precondition, then the failure mode, then the next step. No filler and no repetition of the title.

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

Completeness5/5

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

For a 4-parameter mutation with no output schema, the definition covers the precondition, the limit-check failure path, the escalation alternative, and the follow-up polling call. Nothing an agent needs to invoke it safely is missing.

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 description coverage is 100%, and the schema already ties `level` to a level the quote priced and `review_id` to the confirmed quote. The description restates that these must match the user's confirmation but adds no new syntax, format, or constraint detail beyond the schema.

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 ("Run a quoted review at the level the user chose") plus the gating precondition (only after the user confirmed its price). This distinguishes it from request_review/review_branch, which produce quotes rather than consume them.

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?

Explicit when-to-use (after price confirmation), explicit when-not-to-run (if the session limit would be passed, nothing runs), and it names the alternative for the escalation path: "use approve_more only if they agree." It also gives the follow-up step, polling get_session_findings.

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.