Skip to main content
Glama
gmen1057

yandex-direct-mcp

by gmen1057

direct_set_time_targeting

Control ad scheduling by updating time targeting with hourly percentages or a weekend pattern in Yandex Direct.

Instructions

WRITE: campaigns.update TimeTargeting. schedule_items=7 strings "day,h0,h1..h23" pct 0–100, day 1=Mon…7=Sun. Or weekend_pct for quick 100wd/weekend pattern. allow_write=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
projectNoКлюч бренда из projects.json, либо all | unknown. Write: только ключ из projects.json (не all).
allow_writeNoMust be true to mutate live cabinet. Without it tools return dry plan only.
campaign_idYes
weekend_pctNo
schedule_itemsNo
consider_working_weekendsNo
Behavior4/5

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

No annotations are present, so the description carries full burden. It clearly flags the operation as WRITE and requires allow_write=true, which is critical safety information. It also gives the expected data format for schedule items. However, it omits side effects like whether the existing schedule is replaced or merged, and doesn't mention dry_run behavior.

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?

A single, dense sentence with no filler. It front-loads the write intent and packs format specs into minimal space, making it easy to scan.

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

Completeness3/5

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

The tool is complex (7 params, no output schema, no annotations), and the description explains the main payload and write guard but misses dry_run, project semantics, and the working-weekends option, so an agent might not know how to set those or whether the two modes are mutually exclusive.

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 covers only 29% of parameters. The description defines schedule_items (7 strings day,h0..h23), weekend_pct (0-100), and allow_write (must be true), which adds value for those. But campaign_id, dry_run, project (except schema), and consider_working_weekends remain unexplained in the description, leaving a coverage gap.

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 opens with 'WRITE: campaigns.update TimeTargeting', explicitly stating the operation and resource. The 'WRITE' label distinguishes it from read-only siblings like direct_get_time_targeting.

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 provides clear context: this tool updates time targeting, with two input modes (schedule_items or weekend_pct). It doesn't explicitly compare against sibling tools or mention when not to use, but the write label and API reference make the intended use obvious.

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/gmen1057/yandex-direct-mcp'

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