Skip to main content
Glama

set_integration_policy

DestructiveIdempotent

Admin only: tenant-wide rules for private integrations. private_allowed (members may connect services privately for themselves, default true), custom_mcp_allowed (members may add their own MCP servers, default true), blocked_providers (list of providers nobody may connect privately). Unset fields keep their value.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_integration_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
private_allowedNoMembers may connect services privately for themselves
blocked_providersNoProviders nobody may connect privately
custom_mcp_allowedNoMembers may add their own MCP servers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / blocked_providers / description
      Added value: +"Providers nobody may connect privately"
    • addedInput schema / properties / custom_mcp_allowed / description
      Added value: +"Members may add their own MCP servers"
    • addedInput schema / properties / private_allowed / description
      Added value: +"Members may connect services privately for themselves"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false; the description usefully adds partial-merge semantics and default values of true. It does not explain what is actually destroyed — e.g. whether supplying blocked_providers replaces the existing list or whether flipping private_allowed to false disconnects existing private connections — which matters given destructiveHint=true.

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?

Dense and front-loaded: admin scope first, then field semantics, then the merge rule. No filler, though the per-field parentheticals duplicate the schema descriptions nearly verbatim and could be trimmed.

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?

Covers admin gating, defaults and merge behavior for a 3-parameter, no-output-schema mutation tool. It falls short on the destructive aspect the annotations advertise — what existing state is overwritten by blocked_providers or by disabling the booleans — which an agent needs before invoking a destructive policy change.

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 the default value (true) for both booleans, which the schema descriptions omit, along with the unset-fields-keep-value rule. That is genuine added meaning beyond the schema, though the field glosses largely repeat the schema text.

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?

States a specific verb+resource (set tenant-wide rules for private integrations) and marks the scope as admin-only. It is distinguishable from credential/access siblings by focusing on tenant-wide policy, though it never names an alternative tool. The parenthetical glosses on each field reinforce the purpose.

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?

Gives a prerequisite ('Admin only') and clarifies partial-update behavior ('Unset fields keep their value'), which is real usage guidance. However, it never says when to use this instead of set_integration_access, set_integration_credentials, or decide_integration_access_request, nor any when-not-to-use conditions.

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.