Skip to main content
Glama

ads_campaign_ad_schedule_get

Read-onlyIdempotent

Get the hours a Google Ads campaign runs: { data: [{ day, start, end, bid_modifier }] }. An empty list means all hours. Google Ads only; other networks answer 501.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "ads_campaign_ad_schedule_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id: the Postproxy id (id field of a campaign), not the network's platform_id
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavior: the return shape, the meaning of an empty list (all hours run), and the network-specific 501 error, which is context an agent cannot get from the annotations.

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?

Two short sentences with the purpose first and the constraints after; every clause carries information. The inline JSON-ish return sketch is slightly noisy but communicates the fields compactly.

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?

There is no output schema, and the description compensates by sketching the returned fields and the empty-list case, plus the 501 network restriction. For a two-parameter read tool that is close to complete, with only minor gaps such as whether bid_modifier can be null.

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%, and the schema already explains that campaign_id is the Postproxy id rather than the network platform_id. The description adds nothing about campaign_id or profile_group_id, so this lands at the baseline for fully documented parameters.

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 and resource: get the ad schedule (hours) for a Google Ads campaign, and names the exact returned fields (day, start, end, bid_modifier). An agent can immediately distinguish this read of the schedule from the ads_campaign_ad_schedule_update sibling.

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?

Gives an explicit applicability boundary — Google Ads only, other networks return 501 — which tells the agent when not to call it. It does not name an alternative tool for the mutation case (update), so the guidance stops just short of full when/when-not/alternatives coverage.

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.