Skip to main content
Glama

propose_change

Preview access changes and see exactly what they would do without applying anything, then get a change_id to apply them later.

Instructions

Check a set of access changes and show exactly what they would do. Changes nothing. Returns a change_id for apply_change.

Each change is an object with "kind" and "op": {"kind":"resource","op":"upsert","name":"Git server","protocol":"tcp", "location":"10.0.4.12" | "10.0.0.0/16" | "git.example.com" | {"collection":"name or id"}, "ports":[22,443] | "8000-8100" | "all"} {"kind":"resource_group","op":"upsert","name":"Engineering tools","resources":["Git server"]} {"kind":"policy","op":"upsert","who":{"user_group":"Engineering"},"to":"Engineering tools","action":"Accept"} {"kind":"user_group","op":"upsert","name":"Engineering","members":["a@example.com"]} ("members" sets the whole list; "add_members" / "remove_members" change it by a few) {"kind":"device","op":"set_state","device":"name or id","state":"accepted" | "rejected"} {"kind":"policy","op":"delete","id":"..."} (also resource, resource_group, user_group by name or id) "who" may be "any_signed_in_user", "everyone", {"user":email}, {"user_group":name}, {"device":name}, {"device_group":name}, or {"all_of"|"any_of"|"none_of":[...]}. A rule's "to" is a destination (resource group), never a bare resource. Changes may be listed in any order and may refer by name to things created in the same list. Give "reason" in the user's words; it is kept in the local change record.

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": {
      "changes": "<changes>"
    },
    "name": "propose_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
changesYes
deploymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses the no-side-effect guarantee, the change_id handoff to apply_change, that ordering within the list does not matter, that names may forward-reference items created in the same batch, and that 'reason' is persisted in the local change record. It stops short of stating permission requirements, error behavior on invalid changes, or whether the preview is exhaustive.

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 the purpose and its key constraint in the first two sentences, then a clearly delimited block of per-change grammar. The length is justified by the absent schema documentation, though the grammar dump is somewhat undifferentiated and the parenthetical notes could be tightened.

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?

No output schema exists, and the description supplies the essential return information (a change_id). It also covers the safety profile and input grammar thoroughly. Gaps remain around failure modes for malformed changes and the unexplained 'deployment' parameter, which matter for a tool whose whole job is validation.

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 compensate and largely does: it spells out the full grammar of the 'changes' array (per-kind fields, port formats, location forms, who-matcher variants, the 'to'-must-be-a-resource-group rule) and defines 'reason' as user-authored text stored locally. The third parameter, 'deployment', is never mentioned, leaving one of three parameters undocumented in both schema and description.

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 ('Check a set of access changes and show exactly what they would do') and immediately pins down the contrast with its sibling: 'Changes nothing. Returns a change_id for apply_change.' An agent can distinguish this dry-run validator from apply_change without opening either 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?

Explicitly names the alternative (apply_change) and the condition that routes to it via the returned change_id, plus an explicit negative ('Changes nothing'), which tells the agent not to expect mutation. That is both when-to-use and when-not-to-use guidance in one line.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.