Skip to main content
Glama

Mark a change applied or dismissed

mark_change
Destructive

Mark a change applied (a pull request is merged; it also closes by itself once the app's calls show it), dismissed with a reason (model: never suggest this model; lab: never this provider; quality: never cheaper for this prompt; other), or open again. Ask the person before dismissing. Free.

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": {
      "change_id": "<change_id>",
      "state": "<state>"
    },
    "name": "mark_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
stateYes
reasonNo
change_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds real value on top by warning that dismissal needs human confirmation and noting that 'applied' can occur on its own once the app's calls show it. The 'Free' note signals no credit cost. It does not say whether a dismissal can be fully undone or how the note field is retained, which keeps it below 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?

One front-loaded sentence carries the state/reason vocabulary, followed by a short imperative safety rule and a cost note; almost nothing is wasted. The parenthetical chain makes it dense and slightly run-on, but it is structured enough to scan.

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?

For a destructive, annotate-flagged mutation with no output schema, the description covers the essential decision inputs: which state, which reason, when to confirm with a person. What is missing is secondary: whether the note is required or surfaced later, and what the call returns on success.

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 0%, so the description must carry the parameter meaning, and it does for the two enum parameters: each state value and each reason value (model, lab, quality, other) is defined in plain language far beyond the bare enum. change_id is self-evident, but 'note' is never explained, leaving one of four parameters undocumented.

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 specific verb and resource ('Mark a change') and enumerates the three target states (applied, dismissed, open again), which makes it unmistakable against the read-oriented siblings check_change and list_changes. The parenthetical on 'applied' even clarifies the automatic path to that state.

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 concrete when-to-use guidance per state: 'applied' when a pull request is merged, 'dismissed' with a reason category, or 'open again' to revert. Also adds an explicit procedural rule ('Ask the person before dismissing'). It stops short of naming a sibling alternative or stating exclusions, so it is clear context rather than a full routing rule.

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.