Skip to main content
Glama

Perpetuus CRM

Plan Board Blueprint

crm_plan_blueprint
Read-only

Plan a CRM structure from a blueprint (board, phases, fields, tags); returns a change set (ops, diffs, warnings, impact). HAS NO SIDE EFFECTS (only stores the plan); needs no confirmation. The way to build a funnel: ALWAYS use it over single create tools for 3 or more entities. Show the plan, then call crm_apply_change_set with its id. Link fields to phases via phaseKey. New boards already get phase 0 and default tags; mark outcome phases kind: "won"/"lost". Templates: crm_create_board. v1 only warns on fieldConditions, distributionQueues, automations, integrations, members.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "version": "<version>",
      "board": "<board>"
    },
    "name": "crm_plan_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoBoard tags. A new board is created with default tags.
boardYesTarget board: `{ ref: "new", name }` to create or `{ ref: "existing", documentId }` to update.
fieldsNoCustom fields.
phasesNoFunnel phases, in the desired order. A new board is created with phase 0 (public form).
membersNoBoard members. Not supported in v1 yet: the plan returns a warning and nothing is changed.
versionYesBlueprint version. Always 1.
sessionIdNoCopilot chat session id, to group change sets of the same conversation.
automationsNoAutomations. Not supported in v1 yet: the plan returns a warning and nothing is created.
integrationsNoIntegrations (webhook, WhatsApp channel, Meta Lead). Not supported in v1 yet: a warning is returned and nothing is created.
fieldConditionsNoField conditionals. Not supported in v1 yet: the plan returns a warning and nothing is created.
distributionQueuesNoDistribution queues. Not supported in v1 yet: the plan returns a warning and nothing is created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedInput schema / properties / automations / items / $ref
      Removed value: -"#/properties/fieldConditions/items"
    • addedInput schema / properties / automations / items / additionalProperties
      Added value: +{
      +  "type": [
      +    "object",
      +    "array",
      +    "string",
      +    "number",
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / automations / items / type
      Added value: +"object"
    • removedInput schema / properties / distributionQueues / items / $ref
      Removed value: -"#/properties/fieldConditions/items"
    • addedInput schema / properties / distributionQueues / items / additionalProperties
      Added value: +{
      +  "type": [
      +    "object",
      +    "array",
      +    "string",
      +    "number",
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / distributionQueues / items / type
      Added value: +"object"
    • addedInput schema / properties / fieldConditions / items / additionalProperties / type
      Added value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / integrations / items / $ref
      Removed value: -"#/properties/fieldConditions/items"
    • addedInput schema / properties / integrations / items / additionalProperties
      Added value: +{
      +  "type": [
      +    "object",
      +    "array",
      +    "string",
      +    "number",
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / integrations / items / type
      Added value: +"object"
    • removedInput schema / properties / members / items / $ref
      Removed value: -"#/properties/fieldConditions/items"
    • addedInput schema / properties / members / items / additionalProperties
      Added value: +{
      +  "type": [
      +    "object",
      +    "array",
      +    "string",
      +    "number",
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / members / items / type
      Added value: +"object"
    • removedInput schema / properties / tags / items / properties / color / $ref
      Removed value: -"#/properties/phases/items/properties/color"
    • addedInput schema / properties / tags / items / properties / color / pattern
      Added value: +"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
    • addedInput schema / properties / tags / items / properties / color / type
      Added value: +"string"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it returns a change set, has no side effects except storing the plan, needs no confirmation, and lists v1 warning-only limitations such as fieldConditions, distributionQueues, automations, integrations, and members. It also discloses default phase 0/tags behavior and how to mark won/lost outcome phases.

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?

The description is front-loaded with purpose, side-effect status, and the primary workflow, and nearly every sentence carries operational value. It is dense and slightly run-on, but not redundant or wasteful.

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

Completeness5/5

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

For a complex planning tool with 11 parameters and no output schema, the description covers the plan/apply workflow, return shape, confirmation needs, defaults, unsupported v1 sections, and key linking mechanics. An agent has enough context to invoke it correctly and know what to do next.

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 coverage is 100%, so the input schema already documents most parameters in depth. The description still adds useful semantic guidance by explaining that fields link to phases via phaseKey, outcome phases use kind won/lost, and new boards automatically get phase 0 and default tags.

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: planning a CRM structure from a blueprint across board, phases, fields, and tags. It also names the return artifact, a change set with ops, diffs, warnings, and impact, which clearly distinguishes this planning tool from apply or single-create tools.

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 explicitly says to use this over single create tools for three or more entities, to show the plan before calling crm_apply_change_set with its id, and to use crm_create_board for templates. These are concrete when-to-use and next-step instructions with a named alternative and workflow.

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.