Skip to main content
Glama

Make a PDF report

make_report
Read-only

Make a PDF report and get a link to it, good for a day: give project_id for the project's data report (what data covers the area, what is missing, the team's files and scenarios) or scenario_id for a scenario report (its habitats against their targets, its kept Marxan runs compared, the best run habitat by habitat). The PDF is built when the link is opened, for the person who asked. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
project_idNo
scenario_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnlyHint/destructiveHint/openWorldHint annotations, the description discloses three non-obvious behaviors: the link expires after a day, the PDF is generated lazily when the link is opened rather than at call time, and the link is bound to the requesting person. The closing 'Read-only' merely restates the annotation, and edge cases (both ids, no ids) go unmentioned.

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?

The content is front-loaded (action and return value first, then the parameter branching, then the caveats about generation and lifetime), which is the right order for an agent. It is a single dense run-on sentence with parenthetical lists, so it is efficient but slightly harder to parse than it needs to be.

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 two-parameter, non-destructive tool with no output schema, the description covers purpose, both parameter modes, return value (a link), link lifetime, lazy generation, and requester binding — enough to call it correctly. Only the combination/omission case for the two optional ids is left undefined.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both parameters are optional integers, so the description must carry the meaning — and it does, explaining that project_id yields the area-coverage/gap/team-files report while scenario_id yields the habitats-versus-targets and Marxan run comparison report. It does not specify precedence or default behavior when both are omitted, which is the remaining gap.

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?

The description opens with a concrete verb and artifact ('Make a PDF report and get a link to it') and then splits the tool into two clearly named modes keyed by project_id versus scenario_id. An agent can tell exactly what the tool produces and how the two report types differ without consulting any schema.

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

Usage Guidelines4/5

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

It states the selection rule directly: pass project_id for a project data report, or scenario_id for a scenario report, and it enumerates what each report contains. It does not name a sibling alternative (e.g. email_report) or say what to do if both or neither id is supplied, so the routing guidance is clear but not exhaustive.

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