Skip to main content
Glama

Apply a policy change proposal

apply_policy_proposal
Destructive

Apply a policy change you proposed (propose_policy_change, create_policy, rollback_policy) by its proposalId. Only call this after showing the user the proposal's change list and getting their explicit approval in this conversation. A HIGH impact proposal can't be applied here: a person approves it in the Nomid portal, so give the user its approvalUrl, and get_policy_proposal then shows the outcome. Fails without changing anything if the proposal expired, was already applied, or the policy was changed since it was proposed (stale_proposal: read it again and propose again).

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": {
      "proposalId": "<proposalId>"
    },
    "name": "apply_policy_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
proposalIdYesThe proposalId returned by propose_policy_change, create_policy or rollback_policy.
confirmationNoIgnored: Nomid no longer asks for a typed policy name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, but the description adds genuinely non-derivable behavior: the atomic no-op failure guarantee, the three specific failure conditions (expired, already applied, stale_proposal), and the human-approval gate for HIGH impact proposals. It does not say what a successful apply returns, which is the only meaningful behavioral gap.

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?

Four sentences, front-loaded with the action and the proposalId source, then preconditions, then the escalation path, then failure recovery. Dense but every clause carries actionable content; the nested parenthetical about stale_proposal recovery is slightly compressed but still readable.

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 full decision surface an agent needs for a destructive, non-idempotent mutation: preconditions, an escalation route, and a recovery instruction for the stale case. With no output schema, the one omission is what a successful apply returns, which the agent must infer.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description's only added parameter context — that proposalId comes from the three proposal-creating tools — largely duplicates the schema text, and the optional 'company' parameter and the deprecated 'confirmation' parameter are not addressed at all in the 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 ('Apply a policy change ... by its proposalId') and traces the proposal back to the exact sibling tools that create it (propose_policy_change, create_policy, rollback_policy). An agent can distinguish this from get_policy_proposal and the proposal-creation tools without opening any 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?

Gives an explicit precondition sequence — show the user the change list, obtain explicit approval in this conversation — and an explicit exclusion: HIGH impact proposals cannot be applied here and must be routed to the portal via approvalUrl. It also names the follow-up tool (get_policy_proposal) for reading the outcome, so both the when and the when-not are covered.

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