Skip to main content
Glama

Google Ads MCP

Transform Report Artifacts

transform
Read-only

Use after inspecting one or more existing artifacts to create a new artifact through a precise natural-language transformation. State the exact aliases, columns, joins, unions, grouping, calculations, filtering, sorting, deduplication, normalization, and output shape required. This does not refresh reporting sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesComplete transformation instructions. Example: `Group campaigns by Channel, sum Spend, and sort descending.` Rules: use 3–6000 characters and state exact aliases, columns, joins, calculations, filters, ordering, and output shape.
brand_idYesAccessible brand workspace. Example: `br_abc123`. Rules: copy an exact ID supplied by the host or list_brands and never infer it from a name.
artifactsYesInput tables available to the transformation. Example: [{ artifact_id: `ar_abc123`, as: `campaigns` }]. Rules: include 1–20 unexpired artifacts with unique aliases from the same brand.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
titleYes
offsetYes
columnsYes
has_moreYes
expires_atYes
total_rowsYes
artifact_idYes
next_offsetNo
returned_rowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false; the description adds that the tool creates a derived artifact and explicitly does not refresh reporting sources. No contradiction: 'create' refers to the transformation output, not a persistent mutation of source state.

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 short sentences front-load the purpose, then give the core instruction and a qualifying non-goal. The long list of transformation dimensions is dense but directly actionable, so no sentence is wasted.

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 an output schema and annotations present, the description covers the invocation context ('after inspecting'), the required precision of the request, and what the operation does not do. Parameter-level rules are already in the schema, so the remaining gaps are minor.

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 100%, with detailed descriptions for request, brand_id, and artifacts. The description restates much of the request parameter's guidance and adds only minor terms (deduplication, normalization), so it does not materially move beyond 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?

The description uses a specific verb ('create') and resource ('a new artifact') and frames the operation as a transformation of existing artifacts. It distinguishes itself from fetch/list/save siblings by positioning the tool as post-inspection derivation and by stating it does not refresh reporting sources.

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 explicitly says 'Use after inspecting one or more existing artifacts,' giving a clear sequencing condition. It also states an explicit non-goal ('does not refresh reporting sources'), though it stops short of naming the sibling tool to use when a refresh is actually needed.

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