Skip to main content
Glama

Preview Pending Keyword Activation

preview_activate_pending
Read-only

Preview billing impact of activating pending keywords: see current and target plan prices, target keyword count, immediate prorated charge, and upgrade/downgrade status before committing. No changes are made.

Instructions

Preview the billing impact of activate_pending_keywords without changing anything. Takes no input: it prices the plan needed for the keywords committed this cycle (ACTIVE plus disabled this cycle) plus every PENDING keyword. Returns currentPlanName, currentMonthlyPrice, targetPlanName, targetMonthlyPrice, targetKeywords, immediateCharge (prorated amount charged now), isUpgrade, isDowngrade, requiresImmediatePayment; immediateCharge 0 with isUpgrade false means activation is free. Use this right before activate_pending_keywords. Use preview_keyword_billing instead to price an arbitrary keyword count, for example before add_keywords or enable_keyword.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoBilling preview: currentPlanName, currentMonthlyPrice, targetPlanName, targetMonthlyPrice, targetKeywords, immediateCharge, isUpgrade, isDowngrade, requiresImmediatePayment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedOutput schema / properties / result / description
      Previous value: -"Billing preview with the current plan, target plan, and prorated immediate charge."New value: +"Billing preview: currentPlanName, currentMonthlyPrice, targetPlanName, targetMonthlyPrice, targetKeywords, immediateCharge, isUpgrade, isDowngrade, requiresImmediatePayment."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

The description states 'without changing anything,' which matches the readOnlyHint annotation, and it explains the meaning of specific output values (e.g., immediateCharge 0 with isUpgrade false means free). This goes slightly beyond the annotation by providing interpretive context, though it does not mention potential side effects or error conditions beyond the read-only guarantee.

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 description is slightly longer than necessary but every sentence adds value: it states the purpose, the lack of inputs, the computation logic, the output fields, and usage distinctions. It is front-loaded with the most critical information and does not contain redundant fluff.

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

Completeness5/5

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

The description fully covers the tool's context: when to use it, what it computes, what the output fields mean, and how it differs from the sibling preview_keyword_billing. Since an output schema exists, the description need not enumerate all return fields, but it still provides valuable interpretation of key output semantics.

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?

The tool takes no parameters (schema coverage 100%), so there is nothing to explain. Per the rubric, 0 parameters receives a baseline score of 4. The description correctly omits any parameter details, and no additional clarification is needed.

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 clearly states the tool's purpose: previewing the billing impact of activating pending keywords. It uses a specific verb ('preview') and resource ('billing impact of activate_pending_keywords'), and explicitly contrasts it with the sibling tool preview_keyword_billing, making the distinction unambiguous.

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

Usage Guidelines5/5

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

The description gives explicit usage guidance: 'Use this right before activate_pending_keywords' and 'Use preview_keyword_billing instead to price an arbitrary keyword count, for example before add_keywords or enable_keyword.' This clearly tells the agent when to use this tool versus the alternative, leaving no ambiguity.

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