Skip to main content
Glama

Create a governance profile

create_governance_profile

Create a governance profile (a draft unless status=active): policies plus personal-data handling that agents can opt into and outside systems name at the Governance Gateway.

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": "<name>"
    },
    "name": "create_governance_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
piiNo{identifiers: {kind: mask|tokenize|block}, custom_terms: {always_redact, never_redact}, custom_terms_action}.
nameYesDisplay name.
slugYesLowercase letters, digits and hyphens — what callers name.
statusNodraft (refuses every check) or active.
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).
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

B3.4/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-destructive, closed-world creation operation. The description adds the useful behavioral detail that the profile defaults to a draft unless status=active, but it does not disclose permissions, failure behavior, or what happens to related policies beyond what the schema already explains. With annotations covering the safety profile, this is adequate but not rich.

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?

The definition is a single front-loaded sentence with no filler. The parenthetical draft/active note is useful, but the sentence is dense and slightly awkward around 'outside systems name at the Governance Gateway'. It is concise and structurally sound, though not maximally clear.

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 14-parameter mutation tool with a nested PII object and no output schema, the description is quite short. The schema carries most of the explanatory burden and is fully documented, but the description does not explain the returned object or the operational implications of creating an active versus draft profile. It is minimally complete but leaves meaningful context to the schema.

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 schema already documents all 14 parameters, including status, policies, PII, fail_mode, and reversible behavior. The description only adds high-level framing around policies and personal-data handling. That meets the baseline for a fully documented schema but does not add meaningful parameter-level detail beyond it.

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 states a specific verb and resource: 'Create a governance profile'. It also characterizes the profile as policies plus personal-data handling used by agents and outside systems through the Governance Gateway. It does not explicitly distinguish this creation tool from siblings such as update_governance_profile or import_governance_profile, so it falls short of a 5.

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?

The definition gives one useful usage condition: the profile is a draft unless status=active. It also explains the profile's role for agents opting in and external systems naming it at the Gateway. However, it does not explicitly say when to choose create_governance_profile versus update_governance_profile, import_governance_profile, or create_governance_policy, so guidance is implied rather than explicit.

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