Skip to main content
Glama

asc_ensure_subscription_prices

Walk all app subscriptions and assign a USD price to any missing one, clearing MISSING_METADATA; existing prices are skipped for idempotent runs.

Instructions

Walk ALL of the app's subscriptions; set a price on those that have NONE (clears MISSING_METADATA). Idempotent (those with a price are skipped). Price comes from usd_price_by_product[productId] or default_usd.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundle_idYes
approval_idNo
default_usdNo
usd_price_by_productNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses scope (all subscriptions), mutation semantics (sets a price only where none exists), idempotency, the metadata defect it resolves (MISSING_METADATA), and the price-source precedence. It omits permission/approval requirements and any rate or failure behavior.

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 tight sentences, front-loaded with the operation and scope, followed by idempotency and price-source resolution. No redundant or filler content.

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

Completeness3/5

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

For a mutation tool with no annotations and an output schema (so return values need not be described), the description covers scope, idempotency, and price resolution well but leaves approval_id unexplained and omits any authorization or failure-mode context.

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 must compensate. It meaningfully explains usd_price_by_product (keyed by productId) and default_usd as the per-product vs. fallback price source, but says nothing about approval_id, leaving one of four parameters undocumented across both schema and description.

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?

The description names a specific verb and resource ('set a price on those that have NONE') and constrains the scope ('ALL of the app's subscriptions'). It is clearly distinguishable in effect, though it does not explicitly name or differentiate from any sibling tool.

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 reference to clearing MISSING_METADATA and the idempotency note suggest it is a fix-up/backfill tool safe to re-run. There is no explicit statement of when to prefer this over other setup tools, nor any when-not guidance.

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