Skip to main content
Glama

build_report

Read-only

Compile a report.json from CLI config settings, merging Search Console, AI performance, and audit data into one file for comparison.

Instructions

Build a Search Visibility report.json from the CLI config settings, with each referenced file passed as text in files. Covers Search Console CSV, Google generative AI performance, Bing AI Performance, Naver Search Advisor, URL Inspection, AI answers and AI referrals, plus audits of HTTP(S) targets or a sitemap. Pass the result to compare_reports.

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": {
      "config": "<config>"
    },
    "name": "build_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
configYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with that (it assembles a report from supplied inputs rather than mutating remote resources). It adds some behavioral context by naming the source formats it parses, but omits where the .json artifact goes, whether it is returned inline or written to disk, and there is no output schema to compensate — so an agent cannot predict the result shape.

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 and its inputs are front-loaded in the first clause, with the supported source list following as supporting detail. It is dense but every clause carries information; only the audit clause adds ambiguity rather than value.

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?

For a two-parameter but deeply nested tool with no output schema and no annotation-level detail on return values, the description should explain what the built report looks like or how it is delivered. It gestures at this ('Pass the result to compare_reports') but never describes the result, leaving a meaningful gap for an agent that must decide whether to inspect the output.

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 coverage is 0% on two nested object parameters, so the description carries the burden; it does clarify that 'config' holds CLI config settings and that 'files' is a mapping of each referenced file passed as text. That is meaningful compensation but still leaves key structure undefined — expected config keys, whether file keys are paths or identifiers, and how the two objects relate.

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?

States a specific verb and artifact ('Build a Search Visibility report.json') and enumerates the data sources it covers (Search Console CSV, Bing AI Performance, URL Inspection, etc.), which lets an agent recognize the scope without opening the schema. It falls short of 5 because the phrase 'plus audits of HTTP(S) targets or a sitemap' overlaps conceptually with the audit_site and audit_url siblings, and the description does not say how build_report's audit coverage differs from theirs.

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?

It gives one concrete routing instruction — 'Pass the result to compare_reports' — which establishes the downstream step in the workflow. However, it never states when an agent should call build_report instead of audit_site or audit_url, despite explicitly claiming to perform audits of HTTP(S) targets, leaving the most likely sibling-selection decision unresolved.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.