Skip to main content
Glama
shinypebble

microsoft-ads-mcp

by shinypebble

get_ad_schedules

Read-only

Retrieve dayparting schedules and time-zone settings for a campaign. Returns each window's day, hours, and bid adjustment.

Instructions

Read a campaign's ad-schedule (dayparting) windows and their time-zone context.

Returns each window (day, from_hour/from_minute, to_hour/to_minute, bid_adjustment) plus the campaign's time_zone and use_searcher_time_zone flag. When use_searcher_time_zone is false, the hours run in the campaign time_zone; remove a window with remove_ad_schedules using its criterion_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesThe campaign id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
schedulesNo
time_zoneNo
campaign_idYes
use_searcher_time_zoneNo
Behavior5/5

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

Beyond readOnlyHint annotation, description details return fields (windows with days/times, bid adjustments, time_zone, use_searcher_time_zone) and explains behavior based on use_searcher_time_zone flag. No contradiction.

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 sentences, front-loaded with verb and resource, no wasted words. Essential information efficiently presented.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema, the description still lists return fields, which adds context. Includes sibling reference for removal. Adequately covers all necessary information for a simple read tool.

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?

Only one parameter (campaign_id) with schema coverage 100%; description does not add additional semantic meaning beyond what the schema provides. Baseline score of 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?

Clearly states 'Read a campaign's ad-schedule windows' with specific verb 'Read' and resource. Distinguishes from siblings (add/remove/replace) by implying read-only nature and explicitly mentioning removal tool.

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?

Explicitly names 'remove_ad_schedules' as the tool for removal, providing direct guidance on when to use sibling tool. Context implies use for viewing dayparting settings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinypebble/microsoft-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server