Skip to main content
Glama

ohmyho.st

Stop environment preview

preview_stop
DestructiveIdempotent

Stop the environment preview and remove its backups while preserving the URL until its 24-hour deadline. Repeat an uncertain request with the same idempotency key.

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": {
      "project_id": "<project_id>",
      "environment": "<environment>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "preview_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
environmentYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description earns credit for the added specifics: backups are destroyed, the URL survives until the 24-hour deadline. The retry sentence partly restates the idempotent hint rather than adding new information, which keeps it from a 5.

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?

Two short sentences, front-loaded with the destructive consequence and URL-retention rule, then the retry instruction. No filler or redundant phrasing.

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 destructive, idempotent mutation with full annotation coverage and no output schema, the description covers the key consequences (backup removal, URL retention window) and retry semantics. It does not say what the call returns or what happens if the preview is already stopped, but nothing essential to invoking it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It explains only idempotency_key (same key on retry); project_id and environment — including the dev/prod enum — are left entirely to the schema's bare type and pattern constraints.

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?

States a specific verb and resource ("Stop the environment preview") and immediately scopes the effect by saying backups are removed and the URL is preserved until its 24-hour deadline. It does not name a sibling such as preview_rotate or preview_draft to contrast against, so sibling differentiation is left implicit.

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?

The retry clause ("Repeat an uncertain request with the same idempotency key") gives real operational guidance for an ambiguous failure, but there is no explicit statement of when to choose this over preview_rotate or preview_draft, or any precondition for stopping a preview.

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.