Skip to main content
Glama

Update a governance profile

update_governance_profile

Change a governance profile: sent fields replace, unsent survive (pii replaces the whole object). archived archives/restores; restore_version puts an earlier version back as a new version.

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": {
      "slug": "<slug>"
    },
    "name": "update_governance_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
piiNo{identifiers: {kind: mask|tokenize|block}, custom_terms: {always_redact, never_redact}, custom_terms_action}.
nameNoDisplay name.
slugYesThe profile to change (slug or id).
statusNodraft (refuses every check) or active.
archivedNoArchive (refuses every check) or restore.
new_slugNoRename the slug.
policiesNoGovernance policy names or ids (only ACTIVE ones run).
upstreamNoThe model proxy's upstream: {connection: <model connection ref>, model} or null.
fail_modeNoclosed (default): a check that cannot run refuses; open: it is flagged instead.
reversibleNoTokens may be restored into a model's answer within the window.
descriptionNoWhat the profile is for.
overridableNoWhat a caller may change per request (identifiers, reversible, return_spans) — only stricter.
return_spansNoTell callers where each finding was (default off: kinds and counts only).
restore_versionNoAn earlier version to put back.
validation_pointsNoWhich side it checks.
restore_ttl_secondsNoRestore window in seconds, 60–3600.
include_org_baselineNoAlso apply the organization's Data Protection settings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pii / description
      Previous value: -"{identifiers: {kind: mask|tokenise|block}, custom_terms: {always_redact, never_redact}, custom_terms_action}."New value: +"{identifiers: {kind: mask|tokenize|block}, custom_terms: {always_redact, never_redact}, custom_terms_action}."
    • addedInput schema / properties / upstream
      Added value: +{
      +  "description": "The model proxy's upstream: {connection: <model connection ref>, model} or null.",
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already state it is not read-only, not open-world, and not destructive. The description adds important behavioral context: sent fields replace while unsent fields survive, pii replaces the whole object, archived archives/restores, and restore_version creates a new version. It does not cover permissions or return 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?

The description is a single front-loaded sentence with no fluff. Each clause adds operational meaning about patch behavior, archiving, or version restoration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 17-parameter nested update tool, it covers key mutation semantics but leaves permissions, return behavior, and interactions among policies/upstream/include_org_baseline to the schema. The rich schema compensates substantially, but the description is not fully complete for the tool's complexity.

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 useful meaning about partial-update semantics and the special behavior of pii, archived, and restore_version. It does not explain every parameter, but the schema already does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb ('Change') and resource ('governance profile'), and clarifies that this is a patch-style update. It does not explicitly distinguish this update tool from sibling create/get/set profile tools, but the purpose is still clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use this tool for updating fields, archiving/restoring, or restoring a version. It does not state when not to use it or name alternatives such as create_governance_profile or set_governance_policies.

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