Skip to main content
Glama

CRM pipeline stats

crm_stats

Counts per stage, new today/this week, stale leads. Read-only. Optional branch ("general" or a branch id from crm_list_branches) — omitted = all branches visible to the user. If the workspace has more than one branch, call crm_list_branches first and report per branch or ask which one.

Input Schema

NameRequiredDescriptionDefault
branchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / branch
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the safety profile ('Read-only') plus the data-visibility scope (all branches visible to the user). It also implies the output content. It stops short of describing result shape details, error behavior, or whether stale-lead thresholds are configurable.

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 short sentences, front-loaded with what is returned, then the safety note, then the parameter and prerequisite. Every sentence adds information an agent needs; nothing is padding.

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, the only parameter's semantics, and the multi-branch prerequisite, which is enough to call it correctly. A brief note on the response granularity (e.g. per-stage buckets vs totals) would close the last gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% — the single 'branch' parameter has no schema description — and the description fully compensates: it names both accepted forms ('general' or a branch id obtained from crm_list_branches) and defines the omitted-value default. An agent could construct a valid call from the description alone.

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 enumerates exactly what the tool returns (counts per stage, new today/this week, stale leads), which makes the resource and metric set unambiguous. It does not explicitly contrast itself with siblings like crm_list_leads or crm_list_stages, so an agent must infer that this is the aggregate view rather than the record-level one.

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?

It gives a concrete prerequisite workflow: if the workspace has multiple branches, call crm_list_branches first, then report per branch or ask the user. It also states the default when branch is omitted. What's missing is an explicit 'use this instead of crm_list_leads when you want counts, not rows' routing statement against the closest sibling.

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