Skip to main content
Glama

Import a governance profile

import_governance_profile

Verify a signed profile file (dry_run shows what is in it) and import it as a DRAFT profile with DRAFT policies. A file this region cannot verify is refused.

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": {
      "bundle": "<bundle>"
    },
    "name": "import_governance_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA new name.
slugNoA new slug (default: the file's).
bundleYesThe text of the .profile.jws file.
dry_runNoVerify and preview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations establish only that this is not read-only and not destructive; the description goes further by disclosing that the import lands as DRAFT rather than active, that resulting policies are also DRAFT, and that unverifiable files are rejected outright. It does not cover idempotency or whether re-importing overwrites an existing profile, but the state-transition disclosure is substantive.

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 with no filler, action front-loaded and the failure mode placed last. The dry_run parenthetical is compact and earns its inclusion.

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 four-parameter mutation with full schema coverage and no output schema, the description covers the essential behavior: verification, the DRAFT end state, and failure. A note on whether the imported draft must later be activated via the sibling activation tools would close the remaining gap.

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 coverage is 100%, so all four parameters are already documented structurally; this establishes a baseline of 3. The description adds real meaning for dry_run ('shows what is in it') and bundle (verification subject), but says nothing about name or slug beyond what the schema already states.

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 specific verb pair (verify, import) and resource (a signed profile file), and states the resulting object state (DRAFT profile with DRAFT policies). It does not explicitly differentiate itself from create_governance_profile, but 'import' paired with 'signed profile file' is distinct enough for an agent to select on.

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 gives one concrete usage hint — dry_run shows what is in the file — and states a refusal condition for files the region cannot verify. It never says when to prefer this over create_governance_profile or how it relates to the activation siblings, leaving the main routing decision implicit.

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