Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_subscription_preview

Read-onlyIdempotent

Preview plan eligibility and blockers before checkout without changing the subscription. Target a workspace per call to verify plan options safely.

Instructions

Preview plan eligibility and blockers without opening checkout or changing the subscription. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

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": {
      "plan": "<plan>",
      "interval": "<interval>"
    },
    "name": "whodb_platform_subscription_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesPlan key for plan_features or subscription_preview
fieldsNoOptional top-level output projection
intervalYesBilling interval for subscription_preview
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.139.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description usefully clarifies that no checkout flow is triggered and no subscription state changes, which tempers the openWorldHint, but it adds little about the response payload or what 'blockers' contain.

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?

Two compact sentences with the primary purpose front-loaded and the targeting detail second. Nothing is wasted, though the second sentence duplicates information already carried by the schema.

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 read-only preview with no output schema, the description covers the main things an agent needs: what is previewed, that nothing is mutated, and how workspace targeting resolves. It could say a bit more about what the preview returns, but the essentials are present.

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 description coverage is 100% and the workspace sub-object already documents host/org/project and default-resolution order. The sentence about per-call workspace targeting largely restates the schema's 'Optional target for this call only' wording rather than adding new meaning, so the baseline 3 applies.

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 opens with a specific verb+resource pair ('Preview plan eligibility and blockers') and implicitly distinguishes itself from the mutating sibling whodb_platform_subscription via 'without opening checkout or changing the subscription.' It stops short of naming the sibling outright, so differentiation requires a small inference.

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?

It gives a clear usage context: call this before committing, to see eligibility and blockers while avoiding checkout and subscription mutation. No explicit 'use X instead when...' routing is provided, which keeps it out of the top band.

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