Skip to main content
Glama

export_policy

Read-only

Export a JSON TrustOps policy for one MCP server with allow, blocked tools, required scopes, freshness, and approval gates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clientNo
max_riskNo
identifierYesCanonical server identifier in namespace/name format.
requires_oauthNo
max_freshness_hoursNo
no_write_without_approvalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description is consistent with a read-only export. It adds useful context about the return format (JSON) and the specific contents of the policy, which goes beyond the annotation.

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, well-structured sentence that starts with the verb and quickly conveys the core purpose and contents. No filler or redundancy.

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 tool with 6 parameters and no output schema, the description provides a solid overview but lacks detailed parameter semantics and return structure. It is adequate but leaves gaps about how to configure the policy and what the JSON response looks like.

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

Parameters2/5

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

Schema description coverage is only 17% (identifier only). The description vaguely references policy features like 'allow, blocked tools, required scopes, freshness, and approval gates' but does not map them to specific parameters (client, max_risk, requires_oauth, max_freshness_hours, no_write_without_approval). It fails to compensate for the low schema coverage.

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?

The description uses a specific verb 'Export' with a clear resource ('JSON TrustOps policy for one MCP server') and enumerates the policy components. It distinguishes itself from sibling tools like create_mandate (creation vs export) and get_server_report (report vs policy).

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It does not mention when to choose export_policy over create_mandate or other policy-related tools, offering no exclusions or preferred contexts.

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