Skip to main content
Glama

Preview documentdb plan change

komuta_preview_documentdb_plan_change
Read-only

Preview the selected target plan and topology without applying it. Show full costs, downtime and migration warnings. Never select a paid plan on the user's behalf. Resolve resources by name within the selected organization. Read only; retain pagination cursors and distinguish empty results from permission or availability errors. Returns: The backend operation result, including status and pagination when present; errors remain errors. Show user: Relevant names, values and confirmed outcome. Queued or accepted means pending, not completed; missing data is unknown. Never show user: Internal IDs or credentials; use names.

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": {
      "id": "<id>",
      "targetPlanId": "<targetPlanId>"
    },
    "name": "komuta_preview_documentdb_plan_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesInternal ID resolved from the user's named resource; never ask for an ID.
organizationNoName of the organization to act in. Omit to use the one the connection is already signed in to. Use komuta_list_organizations to see the names; pass the name text exactly as listed (the data of a { untrusted, data } name), never an id.
targetPlanIdYesInternal ID resolved from the user's named resource; never ask for an ID.
targetTopologyIdNoInternal ID resolved from the user's named resource; never ask for an ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description is free to add genuine value — it does, disclosing that the preview surfaces costs, downtime and migration warnings, that pagination cursors must be retained, and that empty results must be distinguished from permission/availability errors. It also clarifies that queued/accepted statuses mean pending, not completed, which is meaningful behavioral context beyond the annotations.

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?

The purpose and constraints are front-loaded, which is good, but the description is padded with generic display boilerplate ('Show user:', 'Never show user:', credential warnings) that is not specific to this tool and crowds out tool-specific detail. Several clauses could be trimmed without loss.

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?

There is no output schema, and the description compensates by describing the return shape (backend operation result with status and pagination, errors staying errors) and by explaining how to present results to the user. It stops short of describing the structure of the cost/downtime payload, but is otherwise sufficient for a read-only preview tool.

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?

With 100% schema description coverage, the schema already documents all four parameters including the organization-name lookup rule and the UUID-only ID fields. The description reinforces name-based resource resolution but adds no format, default, or constraint detail beyond what the schema already states, 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 states a specific verb and resource — 'Preview the selected target plan and topology without applying it' — which tells an agent this is a non-mutating dry run for DocumentDB plan changes. The phrase 'without applying it' implicitly separates it from the komuta_change_* siblings, though no sibling is named 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 context is implied rather than stated: preview instead of apply, and 'Never select a paid plan on the user's behalf' constrains argument choice. There is no explicit 'use this before calling komuta_change_documentdb_plan' routing statement or any exclusion of when not to use it.

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.

Resources