Skip to main content
Glama

Un-dismiss Anomaly

undismiss_anomaly
DestructiveIdempotent

Reverse a previous anomaly dismissal so the anomaly can surface again (DELETE /api/reports/cost-dashboard/anomaly-dismissals?service&period&window[&integration_id]). Provide the SAME service, period, window, AND integration scope used to dismiss it — integration-scoped and org-wide dismissals are distinct rows: pass integration_id to remove a scoped dismissal, omit it to remove an org-wide one. Use list_anomaly_dismissals to find the exact values (integrationId null = org-wide). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "service": "AmazonEC2", "period": "2026-06", "window": "mtd", "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": {
      "service": "<service>",
      "period": "<period>",
      "window": "<window>"
    },
    "name": "undismiss_anomaly"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesThe period of the dismissal to remove (e.g. "2026-06").
windowYesThe detection window the anomaly belongs to — one of "mtd", "weekly", or "monthly". REQUIRED — it is part of the dismissal key, so undismiss_anomaly needs the exact same value to reverse it.
confirmNoSet to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side.
serviceYesThe service of the dismissal to remove (must match the dismissal exactly).
integration_idNoThe integration scope of the dismissal to remove. REQUIRED to reverse an integration-scoped dismissal (pass the same integration_id used to dismiss); OMIT to remove an org-wide dismissal — omitting it does NOT touch scoped rows. Use list_anomaly_dismissals to see each row's integrationId (null = org-wide).

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?

Goes well beyond the annotations (which only say destructive, non-read-only, idempotent): it enumerates all four preconditions (admin:write scope, org switch enabled, admin/super_admin role, confirm:true), states the failure mode is a no-op that names the missing gate, and says read-only cak_ keys can never succeed. It also tells the agent to relay the error rather than retry, which is actionable operational context.

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?

Front-loads purpose, then scoping rules, then the write-permission gates, then an example — a sensible ordering for a consequential mutation. Some material is redundant (the integration-scoped vs org-wide distinction and the list_anomaly_dismissals pointer each appear twice) and the raw endpoint path adds bulk without helping tool selection.

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?

Covers the things that most often cause a failed mutation call: exact key matching, scope ambiguity, and authorization preconditions. The one gap is the success side — with no output schema, the description never says what a successful response confirms (e.g., whether it returns the removed row).

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 coverage is already 100%, so baseline is 3, and the description largely restates the schema's notes on window being part of the dismissal key and integration_id scoping. It earns an extra point for the concrete example payload showing a valid combination, which clarifies how the required fields fit together in practice.

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?

Names a specific verb (reverse) and resource (anomaly dismissal) and states the effect: the anomaly can surface again. The parenthetical DELETE endpoint and the explicit scoping distinction make it unmistakable versus dismiss_anomaly and list_anomaly_dismissals.

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?

Explicitly routes the agent to list_anomaly_dismissals to obtain the exact key values, and states the selection rule for the optional integration_id (pass it for scoped rows, omit for org-wide). It also warns that scoped and org-wide dismissals are distinct rows, so an agent will not misuse the optional parameter.

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.

Resources