Skip to main content
Glama

Create a rule

create_automation

Create a rule, Off, from a definition (name and definition) or from a template (templateId, with optional overrides: a name and edit operations). Nothing runs until it is turned on.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
overridesNo
definitionNo
templateIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation/safety profile is covered. The description adds genuinely useful behavior: the created rule is Off and 'Nothing runs until it is turned on,' which tells the agent activation is a separate step. It omits validation behavior, error handling, and whether overrides replace or merge with the template.

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 compact clauses, front-loaded with the verb and the default state, then the two creation modes. The inline ', Off,' phrasing is slightly awkward but efficient overall; no filler sentences.

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

Completeness2/5

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

For a tool with a very large nested schema, four parameters, and 0% schema description coverage, one sentence is thin. It conveys mutually exclusive modes and the disabled default, but the complex rule grammar (flows, condition groups, step kinds, id constraints) is documented nowhere, leaving the hardest part of constructing a valid call unexplained.

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 0%, so the description carries the burden; it does map all four top-level parameters (name, definition, templateId, overrides with name and edits) and explains the two alternative modes. However, it says nothing about the internal grammar of definition (when/repeat/flows/if/then and required id patterns) or the many edit operations, which is where agents will actually stumble.

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 states a specific verb and resource ('Create a rule') and defines parameters: creation is either from a definition (name and definition) or from a template (templateId with overrides). This distinguishes the two creation paths, though it doesn't differentiate this tool from siblings like propose_automation or duplicate_automation.

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

Usage Guidelines3/5

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

It implies when each mode is used (definition for a new rule, templateId for template-based creation with overrides) and notes the rule starts Off. It gives no explicit guidance on when to prefer this over propose_automation or validate_automation first, and no prerequisites or exclusions.

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