Skip to main content
Glama

Retired: approve a paused scan

approve_scan_phase

Retired. Trent no longer pauses a scan for approval of its security requirements: a scan runs from start to finish, and the user can edit the requirements at any time with edit_analysis. This call records nothing and releases nothing. Use get_scan_status to follow a scan.

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": {
      "scan_id": "<scan_id>",
      "decision": "<decision>"
    },
    "name": "approve_scan_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
scan_idYesThe scan's id.
decisionYesIgnored: Trent no longer pauses scans for a decision.
project_idNoProject ID (provide either project_id or project_name)
project_nameNoProject name (provide either project_id or project_name)

Output Schema

NameRequiredDescriptionDefault
errorNoTrue when the call itself failed. False for successful calls, including a scan still running, an already approved plan, or a repository classified as non-agentic. The reason field describes these workflow states.
reasonNoA stable snake_case code from the allowed set. Present on every error and on successful calls that carry a workflow state.
messageNoExactly one sentence written for the user. Never raw exception text or a backend error string, which may expose private details.
decisionNoThe decision Trent answered with.
metadataNoCaller metadata, such as 'expiration_warning'. Substantive results have their own fields. Never includes exception or backend error text, which may expose private details.
recordedNoFalse: Trent stored nothing and released no scan.
deprecatedNoTrue: Trent no longer pauses scans for approval, so this tool does nothing.
next_stepsNoRecommended next actions, in order.
retry_after_secondsNoWith reason rate_limited, how many seconds Trent asks the caller to wait.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / decision / description
      Previous value: -"'approve' to continue the scan into the next stage, 'reject' to stop it."New value: +"Ignored: Trent no longer pauses scans for a decision."
    • changedInput schema / properties / scan_id / description
      Previous value: -"The paused scan's id."New value: +"The scan's id."
    • addedOutput schema / properties / decision
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The decision Trent answered with.",
      +  "title": "Decision"
      +}
    • addedOutput schema / properties / deprecated
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True: Trent no longer pauses scans for approval, so this tool does nothing.",
      +  "title": "Deprecated"
      +}
    • addedOutput schema / properties / recorded
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "False: Trent stored nothing and released no scan.",
      +  "title": "Recorded"
      +}
    • removedOutput schema / properties / scan_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The scan the decision was recorded on.",
      -  "title": "Scan Id"
      -}
    • removedOutput schema / properties / stage_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The gated stage the scan was paused at.",
      -  "title": "Stage Id"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / retry_after_seconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "With reason rate_limited, how many seconds Trent asks the caller to wait.",
      +  "title": "Retry After Seconds"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Without the description an agent would see a mutating, non-idempotent tool and might call it; the description discloses the crucial behavioral fact that the call is a no-op and that requirements are editable at any time instead. That is real value beyond the annotations, though there is a mild tension with readOnlyHint=false and idempotentHint=false, which still frame this as a state-changing, non-repeatable write.

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 retirement status is front-loaded in the first word, and each following sentence adds a distinct fact: why it was retired, that it is inert, and what to call instead. No padding or repetition of the title.

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

Completeness3/5

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

For an inert, deprecated endpoint the description covers what an agent needs: do not call it, use these two siblings instead, and an output schema exists for the return shape. It stops short of stating whether existing callers should migrate stored decisions or what the call returns when invoked, which is a minor but real gap for a retired write endpoint.

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 itself already labels decision as "Ignored: Trent no longer pauses scans for a decision," so the parameters are fully self-documenting. The description adds no syntax or format detail beyond that, which is the correct baseline when the schema carries the load.

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?

The description opens with "Retired" and states specifically what the tool used to do ("no longer pauses a scan for approval of its security requirements") and that it now "records nothing and releases nothing." That verb-plus-resource framing, plus naming edit_analysis and get_scan_status, lets an agent place it against its siblings without opening any schema.

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?

It gives explicit when-not guidance (do not call this to approve a scan) and names the two concrete alternatives: edit_analysis to change requirements, get_scan_status to follow a scan. Both the exclusion and the replacement path are stated, leaving nothing to inference.

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.