Skip to main content
Glama

get_last_report

Read-only

Obtiene el/los último(s) reportes generados CON su contenido (máx. 5000 chars por reporte).

Usar cuando el usuario quiere leer el reporte más reciente directamente sin pasar por get_reports primero.
Para leer un reporte específico o con más contenido, usar get_report(report_id).
Para listar reportes sin contenido: usar get_reports.

Retorna: id, report_type, report_date, generated_at, content (texto plano hasta 5000 chars), word_count, total_tokens.

Input Schema

NameRequiredDescriptionDefault
limitNoNúmero de reportes recientes a devolver (default: 1)
workspace_idNoUUID del workspace, o su nombre tal como lo dice el usuario ('Acme', 'el personal'). Omitir si el token ya tiene workspace fijo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/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 safety is covered. The description adds genuinely useful behavioral context beyond that: content is truncated to 5000 chars per report, and it enumerates the returned fields, which matters because no output schema exists.

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?

Front-loads what the tool does, then gives three tight routing/return lines with zero filler. Every sentence earns its place and it is easy to scan.

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

Completeness5/5

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

For a 2-param read-only tool with no output schema, the description covers purpose, routing to both siblings, the truncation limit, and the exact returned fields. An agent has everything needed to call it correctly.

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 'limit' (count of recent reports, default 1) and 'workspace_id' (UUID or user-spoken name; omit if token-scoped) are already fully documented in the schema. The description only implies the plural/recent semantics and adds no syntax or format detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Obtiene el/los último(s) reportes generados CON su contenido') and explicitly bounds scope (máx. 5000 chars por reporte). It clearly distinguishes itself from the sibling tools get_report and get_reports by name.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition ('cuando el usuario quiere leer el reporte más reciente directamente sin pasar por get_reports primero') and names both alternatives with the condition that selects each (get_report for a specific/longer report, get_reports to list without content). Nothing is left to inference.

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