Skip to main content
Glama
KoruShield

Koru Shield MCP Server

Official
by KoruShield

create_rule

Block or permit domains on a profile by defining custom allow or deny rules. Set kind=deny to block a domain, kind=allow to permit it.

Instructions

Create a custom allow or deny rule for a domain on a profile. Use kind=deny to block a domain, kind=allow to explicitly permit it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesallow to permit, deny to block
noteNoHuman-readable note for why this rule exists
domainYesDomain to match, e.g. tiktok.com (matches subdomains)
profile_idYesProfile ID (use list_profiles to discover IDs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a persistent mutation but does not say whether the rule takes effect immediately, how allow and deny rules are ordered when they conflict, whether creation requires elevated permissions, or whether the rule is reversible (delete_rule exists but that link is not drawn). For a policy-mutating tool with zero annotation coverage this is a meaningful gap.

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 short sentences, zero filler, with the core action front-loaded and the enum semantics immediately after. Nothing needs trimming.

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?

The schema is fully documented and self-sufficient for invocation, so the description is adequate for calling the tool. However, for a mutation with no annotations and no output schema, it omits the effect model (immediacy, precedence between allow and deny, interaction with filter categories) that an agent needs to use it correctly in a policy context.

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% and each parameter already carries its own description, including the kind enum. The description's restatement of kind=allow/deny largely duplicates the schema's own 'allow to permit, deny to block' text, adding no format, constraint, or matching-semantics detail beyond it. 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?

The description gives a specific verb+resource+scope: create a custom allow/deny rule for a domain on a profile. It is clearly distinct from create_schedule or delete_rule, but it does not distinguish a 'rule' from the related filter-category siblings (list_filter_categories, set_filter_category), leaving the boundary between those concepts unexplained.

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?

The second sentence explains what each kind value means, which is parameter guidance rather than usage guidance. There is no statement of when to create a rule versus using set_filter_category, no prerequisites (e.g. profile must exist), and no note about how rules interact with existing policy.

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