Skip to main content
Glama
yandex-direct-mcp

yandex-direct-mcp

by s3rezhkaa

get_campaigns

Lists Yandex Direct campaigns with their IDs, names, statuses, states, and types, optionally filtered by campaign IDs to inspect specific campaigns.

Instructions

List Yandex Direct campaigns with their ID, name, status, state, and type.

Args: campaign_ids: Optional list of campaign IDs to filter. Returns all campaigns if omitted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It does convey key behavior — a read-only listing scoped by an optional ID filter with an explicit 'return everything if omitted' default — but says nothing about pagination, result limits, auth requirements, or whether the listing is scoped to the authenticated account.

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 purpose sentence is front-loaded and the args block is minimal, with zero filler. The field enumeration overlaps somewhat with the existing output schema, which is mild redundancy rather than wasted space.

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?

For a one-optional-parameter list tool with an output schema covering return values, the definition supplies what an agent needs to call it correctly, including the omit-to-return-all default. Missing only peripheral details like pagination and account scoping.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does: the single parameter is explained as an optional ID filter plus its default behavior when omitted. That is essentially complete for this tool; only the accepted ID range or behavior with invalid IDs is unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List Yandex Direct campaigns') and enumerates the returned fields (ID, name, status, state, type), which lets an agent distinguish it from report-style siblings such as get_campaign_report. It stops short of naming or contrasting any sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the description explains that omitting campaign_ids returns all campaigns, which hints at a list-everything vs filter distinction. There is no statement of when to prefer this over get_campaign_report or get_ads, and no prerequisites or exclusions are given.

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