Skip to main content
Glama

Perpetuus CRM

List Automation Variables

crm_list_automation_variables
Read-onlyIdempotent

Canonical catalog of automation template variables (context, card, contact, task, phase/field/message, action_result). Call BEFORE building an automation action that uses {{variables}} in params (e.g. channel.send_message, email.send). Variables not in this catalog do not exist and must not be used. For dynamic board fields, also call crm_get_board_structure to discover slugs (use as card.fields.{slug}).

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": "crm_list_automation_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
triggerTypeNoOptional trigger type to filter applicable variables (e.g. card.created, contact.updated, task.created). Omit to return the full catalog. Context variables (hoje, agora) are always returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the remaining burden is low. The description adds real behavioral context beyond them: the catalog is authoritative and closed, and omitting triggerType returns everything while context variables are always included. It does not describe the shape of the returned catalog entries, which leaves a small gap given there is no output schema.

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 tight sentences, each load-bearing: identity and contents, the when-to-call rule with a hard validity constraint, and the follow-up tool for board fields. The most decision-critical instruction (call before building actions) is front-loaded.

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 one-optional-parameter read tool with no output schema, the definition covers purpose, ordering, validity rules, and the related structure tool. The only shortfall is that it never characterizes the returned catalog entries (fields per variable, formatting), which the agent must discover by calling it.

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 the schema text already explains triggerType fully, including the example trigger types and the note that context variables are always returned. The description adds no parameter-specific meaning beyond the schema, so the baseline of 3 applies.

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 uses a specific noun resource ("Canonical catalog of automation template variables") and enumerates its scope categories (context, card, contact, task, phase/field/message, action_result). This clearly separates it from the sibling list_* tools that return CRM records rather than template variables.

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?

It states an explicit precondition ("Call BEFORE building an automation action that uses {{variables}}") plus a hard exclusion ("Variables not in this catalog do not exist and must not be used"). It also routes the agent to the complementary tool crm_get_board_structure for board-field slugs, with the exact usage form card.fields.{slug}.

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.