Skip to main content
Glama

Generate report

generate_report
Read-only

Generate a studio report: occupancy, revenue, membership, or activity, over a date range (default: last 30 days).

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": {
      "report_type": "<report_type>"
    },
    "name": "generate_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoISO date/timestamp. Default: now.
start_dateNoISO date/timestamp. Default: 30 days before end_date.
report_typeYes

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. The description adds the useful default window behavior, but says nothing about what the generated report actually contains, whether generation is synchronous or asynchronous, or how large ranges are handled — meaningful gaps for a report-generation tool 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the scope front-loaded and the parenthetical default kept tight; nothing is padded. Minor redundancy in re-listing enum values that the schema already declares keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter read-only generator with no output schema, the definition covers input scoping adequately but leaves the return value entirely unexplained — an agent cannot tell whether it gets structured metrics, a document, or a link. That is the main missing piece for a tool of this complexity.

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 67%, so the baseline is 3. The description restates the report_type values and the date-range default, both of which are already present in the schema's enum and parameter descriptions, so it adds essentially no syntax or format meaning beyond structured fields.

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?

States a specific verb and resource ('Generate a studio report') and enumerates the four report types plus the time scope, so an agent knows exactly what is produced. It does not differentiate from sibling report-like tools such as get_usage_report or generate_weekly_summary, so it stops short of a 5.

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?

The date-range scoping and the default of 'last 30 days' imply the usage context (periodic studio reporting), but there is no explicit when-to-use / when-not-to-use guidance and no routing to the several sibling report tools. An agent must infer selection rules from the report_type enum alone.

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