Skip to main content
Glama

Dv360 line item set status

dv360.line_item.set_status
DestructiveIdempotent

Set a DV360 line item's status to active, paused, or archived using advertiser and line item IDs with a guarded confirmation step.

Instructions

Set a line item's entityStatus (activate/pause/archive) (guarded).

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": {
      "advertiser_id": "<advertiser_id>",
      "line_item_id": "<line_item_id>",
      "entity_status": "<entity_status>"
    },
    "name": "dv360.line_item.set_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
line_item_idYes
advertiser_idYes
entity_statusYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is partly covered. The description adds only the unexplained word '(guarded)', which hints at a confirmation gate but never says what triggers it, what gets destroyed by 'archive', or whether the change is reversible — a significant gap for a destructive mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is good form. However, brevity here comes at the cost of under-specification, and the parenthetical '(guarded)' occupies space without conveying usable meaning.

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

Completeness2/5

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

For a destructive, open-world mutation with four parameters at 0% schema coverage, the description omits the confirmation mechanism, permission requirements, and the distinction between pausing and archiving. The presence of an output schema excuses it from explaining return values, but little else is covered.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it only enumerates valid values for `entity_status` (useful, since the schema has no enum). The `confirm` parameter, `advertiser_id` and `line_item_id` get no explanation at all, leaving the most consequential parameter undocumented.

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 ('Set a line item's entityStatus') and enumerates the three target states, so the agent knows exactly what is being changed. It does not differentiate from the sibling dv360.line_item.update, which an agent could plausibly pick instead.

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

Usage Guidelines2/5

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

There is no guidance on when to use this status-change tool versus dv360.line_item.update, and no stated prerequisites such as required permissions or the need to pass `confirm`. The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools