Skip to main content
Glama
kadam-official

@kadam-net/mcp-server

Official

kadam_adv_create_autorule

Create automated rules for CPC campaigns: set bid changes, stop campaigns, increase day limits, or manage areas/creatives based on performance conditions.

Instructions

Create an autorule on a CPC campaign (autorules are CPC-only). Campaigns usually carry several rules (a strategy); call once per rule. bidChange rules require slices + bidRate + bidMax and a spend/clicks condition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesRule type
actionYesAction (must match type): areaBlPut/areaBlRemove (area), campaignStop/dayLimitIncrease (campaign), creoStop/creoActivate (creo), bidChange (bid)
bidMaxNobidChange: max bid cap (>=0.001). REQUIRED for bidChange.
periodYesEvaluation period in days
slicesNobid rules: granularity dimension IDs, e.g. [180,190] = per source x site. REQUIRED for bidChange.
statByNo
bidRateNobidChange: coefficient on the slice EPC (earnings/click ~ eCPC); new bid = EPC x bidRate, capped at bidMax. REQUIRED for bidChange, range 0.1-2. bidRate=1 = set bid to the eCPC (valid, NOT a no-op).
isActiveNo
campaignIdYesCPC campaign ID
conditionsYesConditions ANDed together; each {metric, match, value}. Note: bidChange (bid) rules don't allow the ROI metric, and spend/clicks conditions can't use value 0.
dayLimitTypeNodayLimitIncrease only
dayLimitValueNodayLimitIncrease only
Behavior4/5

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

Annotations already indicate readOnlyHint=false, so the description correctly implies mutation. Adds CPC-only constraint and bidChange formula, which enriches behavioral understanding. Does not discuss validation errors, idempotency, or authorization, but given annotation presence, the bar is lower and the added context is valuable.

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 efficient sentences front-load main purpose. Every sentence adds unique value: first defines action and restriction, second explains usage pattern, third details special parameter requirements. No redundancy.

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?

Given tool complexity (12 parameters, conditions array, business logic), the description covers key aspects: CPC-only, strategy pattern, bidChange specifics. Does not explain conditions structure or other rule types, but schema covers those. No output schema is acceptable. Good balance for high schema coverage.

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 83%, high. Description adds critical semantics for bidChange rules: relationship between bidRate, bidMax, EPC, and the formula. Also clarifies that bidRate=1 is valid. This goes beyond schema descriptions, justifying a score above baseline 3.

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?

Clear verb+resource: 'Create an autorule on a CPC campaign'. Adds context that autorules are CPC-only and that campaigns usually carry several rules, distinguishing this from other campaign types and defining usage pattern.

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?

Explicitly states CPC-only constraint and pattern to call once per rule. Provides specific details for bidChange rules. However, does not explicitly contrast with siblings list (e.g., update_autorule, set_autorule_status) or state when not to use.

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/kadam-official/mcp-server'

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