Skip to main content
Glama

Reports preview

reports_preview
Read-only

Report data as JSON without exporting a file. Pass the same fields as the report options. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
rangeNo
date_toNo
user_idNo
client_idNo
date_fromNo
user_emailNo
report_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond readOnlyHint=true and openWorldHint=false, the description discloses that it writes no file and that client_id defaults to the active brand when omitted — a real default-behavior fact not derivable from the schema, which declares only default null. It also explains that extra is a catch-all for any other accepted field, which is meaningful behavioral context, though it says nothing about error behavior or result limits.

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?

Three short sentences, front-loaded with the primary outcome (JSON, no file) before the parameter notes. Nothing is padded, though the middle sentence about report options could be merged with the parameter guidance for a tighter flow.

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?

An output schema exists, so return values need no explanation, and the no-file/default-brand facts cover the key surprises. However, with 8 parameters at 0% schema coverage and no required fields, the agent still lacks date format conventions, valid report_type values, and precedence among the date and user filters — gaps that matter for a preview tool whose whole job is correct field passing.

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 0% across 8 parameters, so the description must carry the burden, and it only explains client_id and extra. The phrase "same fields as the report options" points the agent at reports_list_options for the remaining fields (report_type, range, dates, user identifiers), which is helpful routing but not a substitute for stating formats or accepted values.

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?

"Report data as JSON without exporting a file" gives a specific verb (retrieve report data) and result form (inline JSON, not a file), which distinguishes it from the schedule/template siblings that manage report infrastructure. It stops short of explicitly naming the export counterpart it is contrasted with, so differentiation is implied rather than stated.

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?

"Pass the same fields as the report options" implies the usage pattern (mirror a report definition to preview its output) and the no-file constraint hints when to prefer it over exporting. There is no explicit when-not guidance and no named alternative tool, so an agent must infer the boundary from context.

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.