Skip to main content
Glama

Close engagement

engagement_close

Close an engagement to revoke authorization for all further operations. Requires confirm=true and is restricted for agents unless scope creation is enabled.

Instructions

Close an engagement so no further operations are authorized.

Disabled for agents unless WIREFOX_ALLOW_AGENT_SCOPE_CREATION is enabled, and always requires confirm=true.

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": {
      "engagement_id": "<engagement_id>"
    },
    "name": "engagement_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
engagement_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations are present (readOnlyHint=false, destructiveHint=false) so the safety baseline is partly covered, and the description adds valuable operational context: an environment-variable gate for agent callers and a hard confirm requirement. It does not say whether closure is reversible, whether in-flight scans are terminated, or what confirm actually protects against beyond a boolean gate.

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 short sentences, front-loaded with the effect and followed by the gating conditions; nothing is padded. The line-wrapped environment-variable sentence is slightly cryptic but earns its place as the key constraint.

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?

Return values are covered by the existing output schema, and the description supplies the gating and confirm semantics an agent needs before invoking a mutation. It stops short of describing irreversibility or post-close state, which matters for a scope-terminating operation.

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

Parameters4/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 carry the load; it does explain that confirm must be true, which is the non-obvious parameter. engagement_id is self-evident from its name. The absence of any note on identifier format or whether confirm defaults false (it does in schema) leaves a small gap.

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?

States a specific verb and resource plus the consequence: 'Close an engagement so no further operations are authorized.' The effect clause makes the outcome unambiguous, but it never positions itself against siblings such as engagement_get or emergency_stop, so the agent gets no explicit differentiation.

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?

Gives real preconditions — agent execution is gated on WIREFOX_ALLOW_AGENT_SCOPE_CREATION and confirm=true is mandatory — which tells the agent when the call will fail. However, it offers no guidance on when closing is the right action versus alternatives like emergency_stop, and no warning about when not to close.

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