Skip to main content
Glama

Remove protection

unprotect
Destructive

Removes the passcode or invite-only setting from a whole site or the protection from one path (owner; returns approve_url). Each protected path opens on its own.

Input Schema

NameRequiredDescriptionDefault
pathNo"/" (default, whole site) or a protected part such as /students
siteYes
confirm_tokenNo

Output Schema

NameRequiredDescriptionDefault
protectedNo
approve_urlNo
members_onlyNo
agent_messageNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / agent_message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / approve_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / members_only
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / protected
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "confirm_token": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • removedInput schema / properties / confirm_token / description
      Removed value: -"From the first call"
  4. Changed2 schema fields changed
    • changedInput schema / properties / confirm_token / description
      Previous value: -"From the first call: approval status"New value: +"From the first call"
    • removedInput schema / properties / site / description
      Removed value: -"Site name"
  5. Changed3 schema fields changed
    • changedInput schema / properties / confirm_token / description
      Previous value: -"From the first call: re-call with it for the approval status"New value: +"From the first call: approval status"
    • changedInput schema / properties / site / description
      Previous value: -"Site name, e.g. brave-otter-4821"New value: +"Site name"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "agent_message": {
      -      "type": "string"
      -    },
      -    "confirm_token": {
      -      "type": "string"
      -    },
      -    "error": {
      -      "description": "On failure (isError): {code, message}"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  6. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description only needs to add context — it does: owner-level auth is required and an approve_url is returned, implying the removal may go through an approval flow rather than applying instantly. It stops short of stating whether the removed passcode is recoverable or what happens to already-authenticated visitors.

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?

Two tight sentences with the action front-loaded and the scope/auth/return facts packed in. 'Each protected path opens on its own' is slightly telegraphic and could be phrased more plainly.

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 destructive, open-world mutation with only 33% schema coverage, key operational facts are absent: the origin of confirm_token, whether the returned approve_url must be visited to complete the change, and whether the operation is reversible. The output schema exists, so return-value detail is not required here.

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 only 33%, so the description must compensate. It does explain the path/site dichotomy (whole site vs. one protected part, matching the '/'-default in the schema), but confirm_token — arguably the most opaque parameter — is never mentioned, leaving the agent to guess how it is obtained.

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?

Names a specific verb ('removes') and object ('passcode or invite-only setting' / 'protection from one path'), and clarifies two scopes: whole site vs. a single path. It does not explicitly reference the inverse sibling 'protect' or 'site_settings', which would have made the differentiation airtight.

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

Usage Guidelines4/5

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

'(owner; ...)' states the permission prerequisite, and 'Each protected path opens on its own' warns the agent that unprotecting the site will not clear per-path protection, so repeated per-path calls may be required. No explicit when-not or named alternative is given, but the usage context is clear.

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