Skip to main content
Glama

Start a new report

create_report

Makes a new report in one of the workspace's projects, or in the workspace itself, from a template (list_report_templates gives the ids), as the person, saved as written by the assistant. Leave out document to start from the template's own starting document, which says in each part what to write there; or send the whole document already filled in, following the template's guidance: an object with schemaVersion 1 and blocks, each block with a unique id, its kind and version. The document is checked strictly and nothing is saved if a block is wrong; the answer then lists each problem. A design is one canvas block of live page boards, one per screen, joined by plain links (<a href="<board id>.html">) so the person clicks through it as a site; never use a screenshot of a screen you could build as a page. A new report is seen only by the workspace's members until someone shares it. The answer gives the new report's id and version number, not its content. A value too large for one call (a design with a page per screen size) goes as ?as=text uploads to upload_report_file, named by the tool's _file field or by text_files; it is checked as if sent inline.

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": {
      "template": "<template>"
    },
    "name": "create_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe report's name. Left out: the template's name.
documentNoThe whole first version, already filled in: { schemaVersion: 1, blocks: [...] }. Left out: the template's starting document.
templateYesThe template's id (list_report_templates gives them).
project_idNoThe project the report belongs to (list_projects gives ids). Leave it out for a report of the whole workspace, about no one project (a summary across projects, a plan for the business).
text_filesNoLarge texts sent as files instead of inline: each one PUT to upload_report_file's uploadUrl with ?as=text (its textCurl), then put at its pointer, such as "/blocks/0/html". Every text a block holds can go this way: a page's HTML, a supporting file's text, a long paragraph.
workspace_idNoWorkspace id from whoami; omit when there is one.
document_fileNoIn place of document: the sha256 of a ?as=text upload that is the whole document as JSON.
idempotency_keyNoAny unique text. Sending the same key again answers the report the first call made and makes no second one, so a retry after a lost answer is safe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project the report belongs to (list_projects gives ids)."New value: +"The project the report belongs to (list_projects gives ids). Leave it out for a report of the whole workspace, about no one project (a summary across projects, a plan for the business)."
    • changedInput schema / required
      Previous value: -[
      -  "template",
      -  "project_id"
      -]New value: +[
      +  "template"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare that this is a non-destructive write, so the description carries real weight and does: strict validation with nothing saved if any block is wrong, an error answer enumerating each problem, default visibility to workspace members until shared, and a return value limited to id and version rather than content. It also explains idempotency replay behavior, which the annotation set does not cover.

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 core action is front-loaded in the first clause and every sentence carries actionable content, with no filler. It is one dense unbroken paragraph, though, and the embedded guidance on building a design as canvas blocks with plain links is long enough that a reader can lose the main create call inside it.

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?

With 8 parameters, nested objects, and no output schema, the description covers what an agent needs: how to obtain ids, how to satisfy validation, what comes back, who can see the result, and how to escalate to file uploads when a payload is too large. Nothing material about invoking it correctly is missing.

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 coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: the template id source, the structural requirement that each block have a unique id plus kind and version, the JSON Pointer form for text_files targets ("/blocks/0/html"), and what omitting project_id semantically produces. Only the request-body field-level detail is left entirely to the schema.

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?

Opens with a precise verb+resource+scope: creates a report either inside one of the workspace's projects or in the workspace itself, from a template. It also names the sibling that supplies template ids (list_report_templates) and the sibling that handles oversized payloads (upload_report_file), so it is distinguishable from nearby report tools without opening a schema.

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?

Explicit branch points are given for each mode: omit document to start from the template's starting document, send a full document instead, omit project_id for a workspace-wide report, and route anything too large through ?as=text uploads to upload_report_file. Each alternative comes with the condition that selects it, and the retry case is covered by idempotency_key.

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