Skip to main content
Glama

Edit Ads Rule

edit_ads_rule
DestructiveIdempotent

[write] Change an ad monitoring rule (ads_rule_id or ads_rule_uuid): its threshold and/or status (ACTIVE or PASSIVE).

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": "edit_ads_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ads_rule_idNo
ads_rule_uuidNo
ads_rule_statusNo
ads_rule_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose destructiveHint=true, idempotentHint=true, openWorldHint=true, and readOnlyHint=false, so the "[write]" tag is largely redundant. The "and/or" phrasing usefully signals a partial update, but the description does not say what the destruction entails, whether omitted parameters are left untouched or reset to null, or whether re-editing is safe to retry.

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?

A single sentence with the write marker, the resource, the identifier options, and the mutable fields front-loaded. Nothing is padded, though the trailing parenthetical packs several facts into a dense clause that takes a moment to parse.

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 four-parameter mutation tool with no output schema, the definition covers identity resolution and the two editable attributes, which is the core of what an agent needs. The remaining gap is partial-update semantics — with zero required parameters it is unclear whether omitting the threshold leaves it unchanged or clears it, which matters for a destructive write.

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 coverage is 0%, so the description carries real weight here: it establishes that ads_rule_id and ads_rule_uuid are alternative identifiers and that ads_rule_status accepts ACTIVE or PASSIVE — none of which the schema states (no descriptions, no enum). However, ads_rule_threshold is named but never explained (unit, scale, direction of the comparison), leaving one of four parameters semantically empty.

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?

"Change an ad monitoring rule" names a specific verb and resource, and the parenthetical enumerates the two mutable facets (threshold, status). It is clearly distinguishable from create_ads_rule, delete_ads_rule, and list_ads_rules, though it never names a 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 implied by the verb and by the listed mutable fields: use this to alter an existing rule rather than to create or remove one. There is no explicit when/when-not guidance, no prerequisite statement (e.g. that the rule must already exist), and no alternative named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.