Skip to main content
Glama

Perpetuus CRM

Get Board Structure

crm_get_board_structure
Read-onlyIdempotent

Read a board configuration in one call: board (incl. won/lost phase) + ordered phases (kind form/stage/won/lost) with their fields (slug, type, required, options) + tags; optionally field conditions. This is the only board read: use phaseId / fieldId to fetch a single phase or field and include to trim sections. Use it to find field slugs, check what exists before structural writes and confirm the result after crm_apply_change_set.

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": {
      "boardId": "<boardId>"
    },
    "name": "crm_get_board_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardIdYesBoard documentId to inspect.
fieldIdNoReturn only this field, inside the phase that holds it.
includeNoSections to return. Default: phases, fields, tags. `fields` come nested in each phase (implies phases); `conditions` = field conditions.
phaseIdNoReturn only this phase (with its fields).

Output Schema

NameRequiredDescriptionDefault
okYesAlways true on success; errors come with isError and no structuredContent.
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / fieldId / $ref
      Removed value: -"#/properties/phaseId"
    • addedInput schema / properties / fieldId / maxLength
      Added value: +140
    • addedInput schema / properties / fieldId / minLength
      Added value: +1
    • addedInput schema / properties / fieldId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / fieldId / type
      Added value: +"string"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "board": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "documentId": {
      +                      "description": "Strapi documentId (use it in other tools).",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "id": {
      +                      "anyOf": [
      +                        {
      +                          "type": [
      +                            "string",
      +                            "number"
      +                          ]
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "name": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/documentId"
      +                    },
      +                    "url": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Board summary, including won/lost phases."
      +            },
      +            "conditions": {
      +              "anyOf": [
      +                {
      +                  "items": {},
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "filter": {},
      +            "include": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Sections included in this response."
      +            },
      +            "phases": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "documentId": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/documentId",
      +                        "description": "Strapi documentId (use it in other tools)."
      +                      },
      +                      "fields": {
      +                        "anyOf": [
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Fields of the phase (slug, type, required, options)."
      +                      },
      +                      "id": {
      +                        "anyOf": [
      +                          {
      +                            "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/id/anyOf/0"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "kind": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/documentId",
      +                        "description": "form | stage | won | lost"
      +                      },
      +                      "name": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                      },
      +                      "order": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "slug": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "tags": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "color": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                      },
      +                      "documentId": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/documentId",
      +                        "description": "Strapi documentId (use it in other tools)."
      +                      },
      +                      "id": {
      +                        "anyOf": [
      +                          {
      +                            "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/id/anyOf/0"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "name": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                      },
      +                      "slug": {
      +                        "$ref": "#/properties/data/anyOf/0/properties/board/anyOf/0/properties/name"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "organizationDocumentId": {
      +          "description": "Organization documentId resolved from the credential.",
      +          "type": "string"
      +        },
      +        "requestId": {
      +          "description": "Request id (x-request-id or generated by the MCP server).",
      +          "type": "string"
      +        },
      +        "source": {
      +          "const": "perpetuus-crm-mcp",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "requestId",
      +        "source"
      +      ],
      +      "type": "object"
      +    },
      +    "ok": {
      +      "const": true,
      +      "description": "Always true on success; errors come with isError and no structuredContent.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "data",
      +    "meta"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already carry readOnly/idempotent/closed-world, so the safety profile is settled; the description adds behavioral detail beyond them by disclosing default sections (phases, fields, tags) and the nesting rule that fields arrive inside each phase and that requesting fields implies phases. It stops short of describing pagination, size limits, or what an empty/absent section looks like, so it is strong but not exhaustive.

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 sentences, front-loaded with the payload shape and followed by usage routing; no filler. The parenthetical enumerations are dense but each element maps to real returned content, though the packing of type lists into one sentence costs a little readability.

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?

An output schema exists, so return values need not be re-specified, yet the description still gives a correct mental model of the payload shape and section trimming. Combined with annotations and full schema coverage, nothing an agent needs to call this correctly is missing.

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%, so all four parameters are already documented, including the fieldId-in-its-phase and include trimming semantics. The description restates those relationships ("only board read: use phaseId / fieldId...", "include to trim sections") but adds no format, constraint, or edge-case meaning beyond the schema, which is the correct baseline of 3.

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?

States a specific verb and resource ("Read a board configuration") and enumerates exactly what is returned: board incl. won/lost phase, ordered phases with kind form/stage/won/lost, their fields with slug/type/required/options, tags, and optional conditions. It also declares itself the sole board read, which lets an agent separate it from report-style siblings without opening a schema.

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?

Gives explicit when-to-use cases (find field slugs, verify state before structural writes, confirm after crm_apply_change_set) and explicit in-tool alternatives (use phaseId/fieldId for a single phase or field, include to trim sections). An agent has enough to pick this tool and pick the right mode of calling it.

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.