Skip to main content
Glama
pipelinica-mcp
by pipelinica

Run a report

run_report
Read-onlyIdempotent

Generates a table of advertising platform metrics for chosen fields and dates, including column meanings and row limits, so you can review campaign performance and adjust the report scope.

Instructions

The platform's rows for the fields over the dates, as a table: at most 1,000 rows and about 30,000 characters (more_rows counts the rest; fewer days, fewer fields or a longer period fit more). descriptions says what each column means (currency, attribution, caveats). Every row has the always fields. A week, month or year row counts its whole period and is dated by its first day. A refusal says what to change.

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": {
      "platform": "<platform>",
      "connection": "<connection>",
      "fields": "<fields>"
    },
    "name": "run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoA level id (describe_source); default: the first.
fieldsYesField names from describe_fields or a preset.
periodNoWhat one row covers (describe_source): day by default.day
end_dateNoThe last day, YYYY-MM-DD; at most today.
platformYesA platform id from list_platforms.
settingsNoThe chosen option's `settings` from list_options.
connectionYesA connection id from list_platforms.
start_dateNoThe first day, YYYY-MM-DD (dated platforms).

Output Schema

NameRequiredDescriptionDefault
rowsYes
periodYes
columnsYes
end_dateYes
platformYes
more_rowsYes
start_dateYes
descriptionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's real contribution is the caps: 1,000 rows and ~30,000 characters, with `more_rows` counting the remainder and the note that fewer days or fewer fields fit more. It also discloses period-aggregation semantics (a week/month/year row covers its whole period, dated by its first day) and refusal behavior ('A refusal says what to change'). Missing is any statement about permissions, latency, or how to retrieve the rows counted by `more_rows`.

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?

Five compact sentences, each carrying distinct information, with the size limits front-loaded. The opening fragment is grammatically awkward and reads as a continuation of an unstated sentence, which slightly delays comprehension of what the tool actually does.

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 an 8-parameter, open-world read tool with an output schema, the description covers the aspects an agent most needs: result caps, truncation signal (`more_rows`), column meaning via `descriptions`, and refusal signaling. The remaining gap is procedural — no guidance on resolving platform/connection/level/fields across the describe_* siblings before calling, which is nontrivial with 8 parameters and 3 required.

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 the baseline is 3. The description adds a little beyond the schema by tying period length and field count to output volume and by clarifying that aggregated periods are dated by their first day, but it does not explain `level`, `settings`, or the interaction between `start_date`/`end_date` and dated vs non-dated platforms.

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

Purpose3/5

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

The description is phrased as a noun phrase about output ('The platform's rows for the fields over the dates, as a table') rather than a verb+resource statement like 'Run a report returning rows'. It does make the resource (report rows for chosen fields, platform and dates) inferable, and the sibling set makes its data-retrieval role plausible, but it never explicitly distinguishes itself from run_read or describe_fields.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative. The agent must infer from the wording that this is the tool for pulling actual data rows versus the describe_*/list_* siblings, and nothing states when not to use it or what prerequisites (platform, connection, fields resolution order) must be satisfied first.

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