Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Fixter. If you published it, claim ownership there.

Preview Suppression Rule

preview_suppression_rule
Read-onlyIdempotent

Dry-run one suppression rule of the caller's account: show what a rule with this match and these conditions would hide, without storing it. A preview stores nothing and changes no issue: its answer holds how many issues the conditions match, how many of those were seen in the last day, and one page of matching issues, most recently seen first. Read the sample back to the person, and call this again with page=1 and the same match and conditions when issuesMatched is larger than one page. Then call manage_suppression_rule with action=create, or action=update and a rule id from list_suppression_rules, and that same match and those same conditions. A rule holds one to five conditions and one operator: match="all" covers an issue only when every condition holds, match="any" covers it as soon as one does. A rule of one condition has nothing to join, so it is stored and answered as match="all" whichever operator you sent. A condition is a field and a value. Every field matches the whole value, case insensitive, and a star stands for any run of characters: service notifier names that one service, exceptionType java.net.* names every type under java.net, title timed out names every title carrying that phrase, level warn names every issue recorded at that severity. An ENVIRONMENT condition matches an issue that has been seen in a deployment environment matching the value, so a rule naming one environment covers the whole issue, not only that environment's rows. A value of only stars is refused. To narrow, write match="all" with conditions [{"field":"SERVICE","value":"notifier"},{"field":"ENVIRONMENT","value":"staging"},{"field":"LEVEL","value":"warn"}], which covers the notifier service's warnings in staging and nothing else. To widen, write match="any" with conditions [{"field":"EXCEPTION_TYPE","value":"com.slack."},{"field":"EXCEPTION_TYPE","value":"io.netty."}], which covers both libraries. A condition can be negated: to cover everything from payments except timeouts, write match="all" with conditions [{"field":"SERVICE","value":"payments"},{"field":"EXCEPTION_TYPE","value":"java.util.concurrent.TimeoutException","negated":true}], and an issue carrying no exception type at all counts as not a timeout.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preview_suppression_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage of matching issues to read, 0 to 1000 (default 0); a page beyond that is refused
sizeNoIssues per page, 1 to 50 (default 10)
matchNoall or any
conditionsNoOne to five conditions, each a field (SERVICE, ENVIRONMENT, EXCEPTION_TYPE, TITLE or LEVEL), a value of 1 to 200 characters in which a star stands for any run of characters, and an optional negated flag, false unless you send it, which turns the condition into is not

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Changed6 schema fields changed
    • addedInput schema / properties / conditions
      Added value: +{
      +  "description": "One to five conditions, each a field (SERVICE, ENVIRONMENT, EXCEPTION_TYPE or TITLE), a value of 1 to 200 characters in which a star stands for any run of characters, and an optional negated flag, false unless you send it, which turns the condition into is not",
      +  "items": {
      +    "properties": {
      +      "field": {
      +        "type": "string"
      +      },
      +      "negated": {
      +        "type": "boolean"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "negated",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / field
      Removed value: -{
      -  "description": "SERVICE, ENVIRONMENT, EXCEPTION_TYPE or TITLE",
      -  "type": "string"
      -}
    • addedInput schema / properties / match
      Added value: +{
      +  "description": "all or any",
      +  "type": "string"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"Page of matching issues to read, 0 or greater (default 0)"New value: +"Page of matching issues to read, 0 to 1000 (default 0); a page beyond that is refused"
    • removedInput schema / properties / value
      Removed value: -{
      -  "description": "The literal value to match, 1 to 200 characters",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "field",
      -  "value"
      -]New value: +[
      +  "match",
      +  "conditions"
      +]
  6. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and the description reinforces them with 'stores nothing and changes no issue' — consistent, not contradictory. It adds genuinely new behavior: the return shape (match count, count seen in last day, one page of issues most recently seen first) and server-side normalization (a one-condition rule is stored and answered as match="all" regardless of operator sent). The page-range refusal is left to the schema rather than restated, which keeps this just short of a 5.

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-loaded with purpose, then return shape, then next steps, then the matching language — a sensible order for a tool whose semantics are genuinely intricate. It is long, and there is slight redundancy between 'show what a rule ... would hide, without storing it' and the following sentence 'A preview stores nothing and changes no issue,' but the three worked examples (narrow, widen, negate) each carry distinct information.

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?

No output schema exists, and the description compensates by naming the return fields (issuesMatched, last-day count, one page of issues) and their ordering. For a read-only dry-run whose complexity lies in the matching language, an agent has everything needed to construct a call, paginate it, and hand off to the create/update sibling.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description goes far beyond it: it defines match="all" vs "any" precisely, explains that star is a wildcard for any run of characters, gives per-field matching semantics (SERVICE, EXCEPTION_TYPE, TITLE, LEVEL), and clarifies the non-obvious ENVIRONMENT behavior where a match covers the whole issue rather than just that environment's rows. It also documents negation including the null-exceptionType edge case, and that an all-stars value is refused.

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 first sentence gives a specific verb and resource ('Dry-run one suppression rule of the caller's account') plus the distinguishing property: it shows what would be hidden 'without storing it.' That immediately separates it from manage_suppression_rule (create/update) and list_suppression_rules, both named later in the text.

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 prescribes the full workflow: read the sample back, re-call with page=1 when issuesMatched exceeds one page, then call manage_suppression_rule with action=create, or action=update plus a rule id from list_suppression_rules, reusing the same match and conditions. When-not guidance is implicit in the contrast with the mutating siblings but the routing is unambiguous.

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