Skip to main content
Glama

Perpetuus CRM

Board Report / Metrics

crm_get_board_report
Read-onlyIdempotent

Analytics for a board over a period (cards CREATED in [from, to], default last 15 days). Returns summary { totalCards, wonCount, lostCount, wonValue, opportunityValue, ... }, a per-phase funnel (with isWon/isLost), per-assignee and per-tag breakdowns, and createdByDay (leads per day). Answers leads per week, conversion (wonCount/totalCards), pipeline value, tag/assignee breakdown. Won/Lost come from board settings. For the current pipeline use a wide from; for sample cards per phase use crm_search_cards. No structured loss reason exists.

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_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the period (ISO). Defaults to now.
fromNoStart of the period (ISO). Cards CREATED in [from, to] are counted. Defaults to 15 days ago.
tagIdNoOptional: restrict the report to cards carrying this single tag.
boardIdYesBoard documentId to report on.
assigneeIdNoOptional: restrict the report to a single assignee (membership documentId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / assigneeId / $ref
      Removed value: -"#/properties/tagId"
    • addedInput schema / properties / assigneeId / maxLength
      Added value: +140
    • addedInput schema / properties / assigneeId / minLength
      Added value: +1
    • addedInput schema / properties / assigneeId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / assigneeId / type
      Added value: +"string"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description goes well beyond them: it discloses the return structure in the absence of an output schema, explains that Won/Lost derive from board settings rather than a per-card field, and flags the real limitation that no structured loss reason exists. Those are exactly the caveats an agent needs before trusting the numbers.

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?

Front-loaded with the core definition, then return shape, then usage routing and caveats — no filler sentences. It is dense and parenthetical-heavy (inline `{ totalCards, wonCount, ... }` and repeated short clauses), which costs a little readability but every clause carries information.

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?

There is no output schema, so the description must carry the return contract, and it does: summary fields, funnel with isWon/isLost, assignee/tag breakdowns, and createdByDay, plus defaults for both date parameters and the semantic origin of won/lost. For a 5-parameter read-only analytics tool this leaves nothing essential for correct invocation unstated.

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 baseline is 3, but the description adds genuine meaning beyond the schema by warning that the window is creation-date based (cards CREATED in [from, to]) and by recommending a wide `from` to read current pipeline state — a non-obvious calling strategy. tagId and assigneeId get no extra interpretation beyond their schema text.

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+resource+scope: analytics for a board over a period, counting cards CREATED in [from, to] with a 15-day default. It also enumerates the payload shape (summary, per-phase funnel, per-assignee, per-tag, createdByDay) and explicitly separates itself from crm_search_cards for sample-card needs, so an agent can tell it apart from 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 Guidelines4/5

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

Gives clear context: use a wide `from` for current pipeline, and use crm_search_cards when you need sample cards per phase. It also names the business questions it answers (leads per week, conversion as wonCount/totalCards, pipeline value). It stops short of explicit when-not cases or prerequisites (e.g., permission scope for board access).

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.