Skip to main content
Glama

AEO Goal

generate_report

Render an AEO Goal report as a PDF. Small reports (<1MB) come back inline as base64; larger ones are persisted to media storage and returned as a 1-hour signed download URL. Returns the same content the user sees in /app/reports - single source of truth. Requires the white-label feature flag (Enterprise plan).

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
formatNoOutput format. Only 'pdf' is supported today.
brand_idNoOptional brand to scope the report to. Must be owned by this connection's user. Omit for an all-brands report.
date_rangeNoe.g. '7d', '30d', '90d', 'all'. Default '30d'.
report_typeYesWhich report to render.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: a 1MB size threshold that decides inline base64 versus media-storage persistence, a 1-hour signed URL lifetime, and an Enterprise-plan gating requirement. This is exactly the kind of delivery and authorization context annotations (readOnlyHint=false, destructiveHint=false) cannot express. It stops short of stating failure modes or whether persisted artifacts are cleaned up.

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?

Three tight sentences, front-loaded with what is rendered, followed by delivery mechanics and the plan prerequisite. Every sentence carries distinct information with no restatement of the title or name.

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?

With no output schema present, the description usefully explains the two possible return shapes (inline base64 vs signed URL), which is the critical unknown for this tool. Omitting error behavior and link expiry/regeneration guidance keeps it just short of fully complete.

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% with enums on format and report_type, so the schema already carries the parameter meaning. The description adds only the implicit scope of the render ('AEO Goal report') and nothing about date_range syntax or brand_id ownership beyond what the schema documents, so 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 (Render) and resource (AEO Goal report as PDF), and pins the content to the same view the user sees in /app/reports. That anchors it apart from sibling tools such as get_generated_report or list_report_shares without needing their schemas.

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?

Gives useful context—the Enterprise white-label feature flag prerequisite and the source-of-truth equivalence with /app/reports—but never names an alternative tool or says when to prefer this over fetching an existing generated report. Usage is implied rather than routed.

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