Skip to main content
Glama

Block domains

create_block_rules
Destructive

Create enabled custom DNS block rules by specifying exact domains or wildcard patterns for a profile. Requires confirmation to apply, with optional expiry up to 30 days.

Instructions

Create enabled custom block rules. Requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNoCreated through controld-mcp
confirmYesMust be exactly true after reviewing the requested change
profileYesExact profile name or profile ID
hostnamesYesExact domains or *.domain wildcard patterns
expiresInMinutesNoOptional expiry, up to 30 days
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description adds value by disclosing the confirmation requirement ('Requires confirm=true') and the enabled state of created rules. This is useful behavioral context beyond the annotations, though it does not detail the destructive impact.

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 two short sentences with no fluff. The core action and a critical requirement are placed upfront, making it highly scannable.

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?

Given the rich schema and annotations, the description covers the essential invocation details. It lacks usage context and return behavior, but for a straightforward create tool with high schema coverage, it is reasonably complete.

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 80%, so the schema carries most parameter meaning. The description's mention of 'confirm=true' reinforces the confirmation parameter but adds little new semantic detail beyond what is already in the schema.

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 states a specific verb and resource: 'Create enabled custom block rules.' The title 'Block domains' further clarifies the resource, and it naturally distinguishes from sibling tools like create_bypass_rules and create_redirect_rules.

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 the alternatives (e.g., bypass rules, redirect rules). There are no exclusions or context cues about scenarios where blocking is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SwaggyMike/controld-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server