Skip to main content
Glama

Get a performance summary

get_performance_summary
Read-onlyIdempotent

How the store did over a date range compared with the days before: sales, new opportunities, appointments and visits, how fast new leads were answered, and calls, texts, emails and results. Defaults to this month to date.

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

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD, inclusive; defaults to today
fromNoFirst day, YYYY-MM-DD
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, open-world operation. The description adds meaningful behavioral context beyond that: the summary compares the selected date range with the preceding days, defaults to month-to-date, and lists the metric families returned. It does not explain permissions, rate limits, or exact output shape, but it does more than repeat structured fields.

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?

The description is two tight sentences and front-loads the core purpose before listing metrics and default behavior. Every clause carries useful information with no evident filler.

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 three-parameter analytics tool with no output schema, the description gives enough context: it identifies the comparison period, the default date range, and the categories of results. The remaining gap is that the exact response structure is not described, but the metric list provides substantial coverage.

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 the schema already explains 'to,' 'from,' and 'workspace_id.' The description adds the useful default behavior 'this month to date,' which is not fully captured by the schema, but it does not add further semantics for the date boundaries or clarify the optional workspace scope beyond what the schema provides.

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 uses a clear resource ('performance summary') and enumerates the specific metrics covered: sales, opportunities, appointments, lead response speed, and communications. It is specific enough for an agent to understand what the tool returns, though it does not explicitly distinguish itself from siblings like get_usage.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'How the store did over a date range,' and the default period is stated. However, there is no explicit when-to-use guidance, no exclusions, and no named alternative tool for related analytics such as get_usage.

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