Skip to main content
Glama

Dismiss agent warnings

stack_dismiss_agent_warnings
Destructive

Dismiss every open warning and info security event of one agent in one step, and hide new events of the same kinds for that agent for 24 hours, so the same notice does not come back. A critical event is never dismissed or hidden by this. Notifications already sent are not recalled. One audit entry names who dismissed, how many and which kinds. Returns agent_id, dismissed, by_signal_type and repeats_hidden_for_seconds.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "stack_dismiss_agent_warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent id (agt_*) from stack_list_agents
governance_approval_idNoDeprecated and ignored: dismissing warnings no longer asks for an approval. Kept so existing callers keep working.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes much further, spelling out exactly what is destroyed (all open warning/info events), the 24-hour suppression of repeats, the hard exclusion of critical events, the audit trail entry and its contents, and the fact that notifications are not recalled. That is precisely the operational detail an agent needs before calling a destructive tool.

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?

Four tight sentences, front-loaded with the action and its scope, then limits, then side effects, then the return shape. Every clause carries information, including the return field list, which compensates for the absent output schema.

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?

Although no output schema exists, the description names the return fields (agent_id, dismissed, by_signal_type, repeats_hidden_for_seconds) and covers side effects, exclusions and the audit record. For a two-parameter destructive tool with full schema coverage, nothing material 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%, including the agt_* pattern and the note that governance_approval_id is deprecated and ignored. The description adds only implicit agent scoping and says nothing about the deprecated parameter, so with the schema carrying the load this is the expected baseline.

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 precise verb and scope: dismiss every open warning and info security event for one agent, plus suppress new same-kind events for 24 hours. The exclusion of critical events sharpens the boundary, so an agent can confidently tell this apart from the other agent-management siblings, none of which touch warnings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditions of use (bulk-dismiss open warnings/infos, one step, per agent) and explicit negative cases: critical events are never dismissed or hidden, and already-sent notifications are not recalled. It does not name an alternative tool for handling a single warning or for viewing events instead, so it stops short of full alternative routing.

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.