Skip to main content
Glama
google-ad-manager-mcp

google-ad-manager-mcp

by Jakob-Peters

gam_forecast_existing_line_item

Read-onlyIdempotent

Forecasts whether an existing line item can still reach its goal and which contending line items compete for the same inventory. Returns available, matched, possible, delivered and reserved units.

Instructions

MODE: read-only compute. UI: Inventory → Traffic forecast. Availability forecast for an EXISTING line item by id — can it (still) reach its goal, and what contends with it? GAM supports this for SPONSORSHIP and STANDARD line items only. OUTPUT: available/matched/possible/delivered/reserved units + contending line items (on by default). NOT the same as gam_forecast_availability (that one forecasts a hypothetical new booking).

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": {
      "line_item_id": "<line_item_id>"
    },
    "name": "gam_forecast_existing_line_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
line_item_idYesThe GAM line item id.
network_codeNo
include_targeting_breakdownNoPer-criteria breakdown (default false).
include_contending_line_itemsNoDefault true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and non-destructive, so the safety profile is covered; the description still adds genuine context with 'MODE: read-only compute', the eligible line-item type restriction, and the note that contending line items are returned by default. It does not mention cost/latency of a compute call or any permission requirements, which keeps it out of the top band.

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 definition is front-loaded and labeled (MODE / UI / OUTPUT / sibling disambiguation), so a reader can scan it quickly. The 'UI: Inventory → Traffic forecast' breadcrumb is human-oriented filler that does not help an agent select or invoke the tool, which keeps it from a 5.

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, the description compensates by enumerating the returned figures (available/matched/possible/delivered/reserved units) plus contending line items. It does not describe the shape of the contending-item entries or whether results are cached/fresh, minor gaps for a compute-style forecast call.

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 75%, so the schema already documents line_item_id, include_targeting_breakdown and the default for include_contending_line_items. The description reinforces the 'contending line items (on by default)' behavior but adds no meaning for network_code or the targeting-breakdown flag beyond what the schema states. Baseline 3 is appropriate.

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 names a specific verb+resource ('Availability forecast for an EXISTING line item by id'), states the concrete question it answers ('can it (still) reach its goal, and what contends with it?'), and explicitly distinguishes itself from the sibling forecast tool. An agent can identify this tool without opening any 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?

It supplies an explicit when-not constraint ('GAM supports this for SPONSORSHIP and STANDARD line items only') and names the alternative with the condition that selects it ('NOT the same as gam_forecast_availability (that one forecasts a hypothetical new booking)'). The choice between the two forecast tools is fully determined by the text.

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