Skip to main content
Glama

rule create

rule_create
DestructiveIdempotent

Create an automation rule for an authorized project. Matching future changes can export content to a connected provider or archive a resource. Provide a unique requestId and reuse it when retrying this exact action. Item updates require the current version from get_tasks, get_items, or get_workspace. Permissions are enforced for the workspace, project, and account.

Input Schema

NameRequiredDescriptionDefault
nameYes
actionYes
projectIdYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true; the description explains the mechanism behind idempotency (reusing requestId) and adds that workspace/project/account permissions are enforced, which the annotations don't cover. It stops short of describing what the created rule returns or what state changes on success.

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?

Four sentences, all front-loaded with the core verb+resource first, then effect, then idempotency, then prerequisites. Dense but each sentence adds distinct operational value; minor room to tighten the permissions sentence.

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?

For a 4-param, 0%-coverage destructive mutation with no output schema, the description supplies the idempotency contract, effect semantics, and permission/version prerequisites. The main remaining gap is the success response shape, which is not documented anywhere.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden and does most of it: requestId is defined as unique and reusable on retry, action's two effects (export content vs archive a resource) are spelled out, and projectId is characterized as the authorized project. Only 'name' is left to obvious inference.

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 ('Create an automation rule') plus scoping ('for an authorized project') and describes the downstream effect of the two action values. It doesn't explicitly say how it differs from the sibling rule_toggle, so it falls just short of 5.

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?

Gives clear context: a unique requestId must be reused when retrying the exact action, and item updates require the current version from the named sibling tools (get_tasks, get_items, get_workspace). It routes the agent to prerequisites but never states an explicit when-not-to-use condition.

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