Skip to main content
Glama

Get dashboard stats

get_dashboard_stats
Read-only

Counts across the tenant: events, news, pages, form submissions, bookings, members, member departments, newsletter subscribers, donations.

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

Input Schema

NameRequiredDescriptionDefault
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description contributes the meaningful extra fact that the result is a set of counts spanning the whole tenant rather than a single record, but it says nothing about the response shape or cost, which matters for a nine-entity aggregate with 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?

One front-loaded sentence with the key noun (counts) and scope (across the tenant) first, followed by the categories. No filler, no restatement of the title.

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 zero-required-parameter read aggregation this is close to sufficient: the enumerated categories effectively telegraph the keys an agent will receive, compensating for the absent output schema. The only real gap is the lack of explicit guidance on when this beats the individual stats/detail siblings.

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 coverage is 100% and the single parameter already documents the super-admin-only cross-tenant override in its own description. The tool description adds nothing about target_tenant_id, so the baseline of 3 applies — the schema does all the work.

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 names a concrete output (counts) and enumerates the exact resource categories counted — events, news, pages, form submissions, bookings, members, departments, subscribers, donations — so an agent can tell this is an aggregate tally rather than a detail fetch. It stops short of explicitly differentiating itself from near-neighbours like donation_stats, leaving the agent to infer the scope difference from the enumeration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to prefer this tool over per-resource detail tools or the donation_stats sibling; the enumeration implies a dashboard overview but never says so. It also omits whether calling it is cheap or expensive, which matters for a tool that aggregates nine entity types at once.

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