Skip to main content
Glama

Remove allowed site

remove_allowed_site
DestructiveIdempotent

Removes a hostname or wildcard pattern from the webpage-capture allowlist to revoke capture permission. Use it to stop matching sites from being allowed while keeping existing captures.

Instructions

Remove a hostname pattern from the webpage-capture allowlist. Use to revoke a rule found by list_allowed_sites; use add_allowed_site to restore it. Returns the normalized pattern and whether a rule was removed. Saved captures remain, and overlapping rules can still allow the same host.

Input Schema

NameRequiredDescriptionDefault
url_patternYesHostname or wildcard hostname pattern, without whitespace; for example example.com or *.docs.example.com.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.12.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds the context annotations cannot: saved captures are NOT deleted, only the rule is, and overlapping rules may still allow the same host. It also discloses the return payload (normalized pattern plus whether a rule was removed), consistent with the idempotent hint.

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?

Three sentences, front-loaded with the action, then routing, then consequences. Nothing is redundant and every sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter destructive mutation with no output schema, the description covers purpose, alternatives, what is and isn't destroyed, and the return shape. An agent has everything needed to call it correctly and to warn about side effects.

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% and the single parameter is well documented with an example, so the schema does the heavy lifting. The description only glances at the parameter by mentioning the 'normalized pattern' in the return value, adding little syntax or format detail beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb ('Remove') and resource ('a hostname pattern from the webpage-capture allowlist'), which immediately separates it from add_allowed_site and list_allowed_sites. The scope is unambiguous without opening the schema.

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

Usage Guidelines5/5

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

Explicitly tells the agent when to use it ('to revoke a rule found by list_allowed_sites') and names the inverse tool ('use add_allowed_site to restore it'). This is full when/when-not/alternative coverage in one sentence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools