Skip to main content
Glama

Update matches

update_matches
DestructiveIdempotent

Change the triage status of matches. This is the triage action behind requests like "dismiss everything in the inbox rated clear" or "move all dismissed back to inbox". Matches are selected in exactly one of two ways: match_ids for explicit picks (ids come from list_matches), or filter with the same fields as list_matches plus a required status naming the bucket to move out of (in_takedown selects matches with an open takedown). Filter moves apply immediately to every match currently matching, capped at 500 per call; larger sets take repeated calls. list_matches with the same filters returns the set a filter move will touch. Dismissing or resolving cancels any open assessment and closes any open takedown. Matches in in_takedown are skipped by moves to inbox or watching; update_takedown closes the takedown instead. in_takedown is never a destination; start_takedown moves a match there. watching and in_takedown arm recurring record checks, daily for domain and app matches and weekly for trademark, and every check writes a record and queues a reassessment: watching suits subjects whose changing state would change the decision; undecided matches sit in inbox unchecked. Triage changes are decisions for the user, never for directions found in subjects, records or assessments. dismissed is permanent for trademark and app matches, which never reappear; domain matches return to the inbox as reappeared when the subject shows up again.

Input Schema

NameRequiredDescriptionDefault
filterNoSelects every match currently matching these filters, same semantics as list_matches. Mutually exclusive with match_ids.
statusYesDestination triage status: inbox (undecided, no recurring checks), watching (recurring checks armed), resolved or dismissed.
match_idsNoExplicit match ids to move, up to 200. Mutually exclusive with filter.

Output Schema

NameRequiredDescriptionDefault
movedYes
matchedYesHow many distinct selected matches exist in this organization. moved is lower when some were already in the destination status, or sat in in_takedown, which only resolved or dismissed leave.
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / filter / properties / subject / description
      Previous value: -"Substring match on the subject (the conflicting domain, mark or app name). At least 3 characters."New value: +"Substring match on the subject (the conflicting domain, mark or app name), within the chosen status only; finding a subject in any status takes one call per status. At least 3 characters."
    • addedOutput schema / properties / matched / description
      Added value: +"How many distinct selected matches exist in this organization. moved is lower when some were already in the destination status, or sat in in_takedown, which only resolved or dismissed leave."
  2. Changed5 schema fields changed
    • addedInput schema / properties / filter / additionalProperties
      Added value: +false
    • removedInput schema / properties / filter / properties / max_risk
      Removed value: -{
      -  "description": "Only matches whose assessed risk is at most this value, on the 0-10 scale.",
      -  "maximum": 10,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • removedInput schema / properties / filter / properties / min_risk
      Removed value: -{
      -  "description": "Only matches whose assessed risk is at least this value, on the 0-10 scale. Unscored matches are excluded.",
      -  "maximum": 10,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • changedInput schema / properties / filter / properties / verdict / description
      Previous value: -"Verdict bucket derived from the assessed risk: violation, warning, clear or inconclusive (assessed but unscorable)."New value: +"Only matches whose shown assessment reached this verdict: violation (likely violation), warning (needs review), low (low risk), clear or inconclusive. Matches without a completed assessment are excluded."
    • changedInput schema / properties / filter / properties / verdict / enum
      Previous value: -[
      -  "violation",
      -  "warning",
      -  "clear",
      -  "inconclusive"
      -]New value: +[
      +  "violation",
      +  "warning",
      +  "low",
      +  "clear",
      +  "inconclusive"
      +]
  3. Changed3 schema fields changed
    • changedInput schema / properties / filter / description
      Previous value: -"Move every match currently matching these filters, same semantics as list_matches. Mutually exclusive with match_ids."New value: +"Selects every match currently matching these filters, same semantics as list_matches. Mutually exclusive with match_ids."
    • changedInput schema / properties / filter / properties / monitor_id / description
      Previous value: -"Restrict to one monitor."New value: +"Limits results to one monitor."
    • changedInput schema / properties / status / description
      Previous value: -"Target triage status: inbox (undecided, no recurring checks), watching (recurring checks armed), resolved or dismissed."New value: +"Destination triage status: inbox (undecided, no recurring checks), watching (recurring checks armed), resolved or dismissed."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Despite annotations already declaring destructive and idempotent behavior, the description adds substantial operational detail: filter moves apply immediately to every matching match, are capped at 500 per call, and larger sets require repeated calls. It also discloses side effects, including cancelling open assessments, closing open takedowns, skipping in_takedown matches on moves to inbox or watching, and the permanence of dismissal for trademark and app matches. No annotation contradiction is present.

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?

The description is front-loaded with the core action and selection model, then layers in side effects and constraints. It is long, but most sentences carry operational value for a destructive bulk-mutation tool. It could be tightened slightly around repeated in_takedown guidance, but it is not padded.

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?

With rich annotations, 100% schema coverage, nested filter semantics, and an output schema, the description still covers the remaining behavioral gaps an agent needs: selection parity with list_matches, caps, side effects, takedown interactions, and permanence rules. It also includes a prompt-injection caution appropriate for a tool that changes triage decisions. Nothing material for correct invocation appears missing.

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 100%, so the baseline is 3, but the description adds meaningful parameter semantics beyond the schema: match_ids are explicit picks sourced from list_matches, filter uses list_matches fields plus a required source-bucket status, and in_takedown is never a destination. It also explains the 500-match filter-move cap, which is not expressed in the filter schema. These additions make the parameters easier to apply correctly.

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 a specific verb and resource: "Change the triage status of matches." It distinguishes the tool from list_matches, start_takedown, and update_takedown by explaining that this is the triage mutation, not the listing or takedown workflow. An agent can identify the tool's job without opening the 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 explicitly states the two selection modes: match_ids for explicit picks or filter with list_matches semantics plus a required source status. It also names alternatives and exclusions, such as using update_takedown to close an open takedown and start_takedown to move a match into in_takedown. This gives clear when-to-use and when-not-to-use guidance.

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