Skip to main content
Glama

Update governance policy

update_governance_policy

Edit an existing policy: name, description, severity, which side it checks (validation_points) or individual configuration keys (configuration_patch, merged into what is stored). Does not activate or deactivate; editing an ACTIVE policy changes live enforcement.

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": {
      "policy_id": "<policy_id>"
    },
    "name": "update_governance_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
severityNoPolicy severity.
policy_idYesId of the policy (from get_catalog view=policies).
descriptionNoNew description.
validation_pointsNoWhich side the policy checks: input = messages users send, output = replies the agent writes, both (default when unset). Only for data_privacy, content_filter, output_validation, threat_detection, custom.
configuration_patchNoConfiguration keys to change; unnamed keys are kept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / validation_points / description
      Previous value: -"Which side the policy checks: input = messages users send, output = replies the agent writes, both (default when unset). Only for data_privacy, content_filter, output_validation, custom."New value: +"Which side the policy checks: input = messages users send, output = replies the agent writes, both (default when unset). Only for data_privacy, content_filter, output_validation, threat_detection, custom."
  2. Changed1 schema field changed
    • changedInput schema / properties / policy_id / description
      Previous value: -"Id of the policy (from list_policies / get_catalog)."New value: +"Id of the policy (from get_catalog view=policies)."
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds two things annotations cannot: configuration_patch is merged into stored config rather than replacing it, and edits to an ACTIVE policy take effect on live enforcement immediately. Both are operational consequences an agent needs before calling. It does not disclose permission requirements or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler: the editable surface is front-loaded and the caveats (no activation, live enforcement impact) are compressed into a trailing clause. Every phrase carries either scope or behavior information.

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 six-parameter mutation with a nested object and no output schema, the description covers what can change, how the nested patch behaves, and the live-enforcement risk. Minor gaps remain: whether the updated policy is returned, and whether any fields are immutable. These are small relative to what is already stated.

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 every parameter is already documented, including the merge semantics of configuration_patch and the enum values of validation_points. The description's field list largely mirrors the schema, adding only the shorthand "which side it checks" for validation_points. Baseline 3 is appropriate when the schema carries the parameter detail.

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?

"Edit an existing policy" gives a specific verb and resource, then enumerates exactly which fields are editable (name, description, severity, validation_points, configuration_patch). The clause "Does not activate or deactivate" explicitly separates it from activate_governance_policy and create_governance_policy, which restate the same noun.

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?

The description states the condition for use (an existing policy, not creation) and excludes the activation/deactivation path, routing the agent elsewhere for that. It also flags the consequence of editing an ACTIVE policy, which is a when-to-be-careful signal. It does not name the alternative tool by name, so it stops just short of full routing.

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