Skip to main content
Glama

platform.protection.configure

Replace global app-protection blocking rules for all apps. Requires explicit platform-protection consent and current platform-admin access.

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": {
      "revision": "<revision>",
      "rules": "<rules>"
    },
    "name": "platform.protection.configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYescomplete replacement list of global block rules, including advanced_v1 typed AND conditions; parsed body fields exclude file contents
enabledNorequest protection activation; activation remains pending until verified
revisionYescurrent global policy revision
organization_idNoorganization membership to use for this call; omit only when the account has one current membership
max_request_body_bytesNoexplicit body size limit in bytes; larger requests are rejected

Output Schema

NameRequiredDescriptionDefault
rulesYes
enabledNo
revisionYes
enforcementYes
verified_atNo
failure_codeNo
managed_rulesetYes
max_request_body_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries the interesting behavioral weight and does add value: it discloses that this is a full replacement of the global rule list (not a merge), plus the consent and platform-admin authorization requirements. There is mild tension between 'Replace ... rules' and destructiveHint=false, since prior rules are overwritten, but as a configuration setter this is not a true contradiction; what is missing is the failure mode when consent or admin access is absent.

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, no waste, and the operation and its scope are front-loaded ahead of the prerequisite clause. Every sentence earns its place.

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?

An output schema exists and the input schema is fully documented, so return values and parameter details need not be repeated. The description supplies purpose, replacement semantics and authorization prerequisites, which is nearly complete for a mutation tool; the only gap is the consequence of an unsatisfied consent/admin/revision precondition.

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 revision, rules, enabled, organization_id and max_request_body_bytes in detail, including the advanced_v1 conditions and the exclude-file-contents note. The description adds only the replacement semantics of the rules list, which the schema's own 'complete replacement list' wording already covers. Baseline 3 applies.

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 and resource: 'Replace global app-protection blocking rules for all apps', with the 'global / all apps' scope making it distinguishable from the app-scoped sibling apps.protection.configure and from the read-only platform.protection.get. It stops short of explicitly naming those siblings, so the differentiation must be inferred from the scope wording.

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?

Provides real prerequisites ('explicit platform-protection consent', 'current platform-admin access') that tell the agent when the call is valid, which is more than most config tools offer. However, it gives no guidance on when to prefer this tool over the per-app variant or when not to use it, and does not mention that the caller must supply the current revision.

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