Skip to main content
Glama

ohmyho.st

Rotate preview URL

preview_rotate
DestructiveIdempotent

Rotate the private preview URL and close old connections; the preview keeps 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_rotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
environmentYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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, but the description adds value beyond them: it says exactly what is destroyed (old connections), what is preserved (the 24-hour deadline), and how retries behave. It stops short of stating what the caller receives (presumably the new URL), which matters for a destructive mutation with no output schema.

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 clauses, front-loaded with the action and its side effects, then the retry rule. No filler or restated title text.

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 destructive, non-read-only mutation with no output schema, the definition covers side effects and retry safety but never says what a successful call returns (the new URL) or how the closed connections affect clients. Adequate, not complete.

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 0%, so the description must carry the load. It clarifies idempotency_key semantics well but leaves project_id and environment entirely uninterpreted, including why environment is a dev/prod choice for a preview rotation.

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 ('Rotate the private preview URL') plus two concrete consequences: old connections are closed and the 24-hour deadline is preserved. It doesn't name the closest sibling (project_dev_share_link_rotate) or otherwise disambiguate from it, so it falls short of a 5.

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 rule ('Repeat an uncertain request with the same idempotency key') is explicit and actionable, but there is no guidance on when to rotate versus the other preview_* siblings or the share-link rotate tool. Usage context is implied by the name rather than stated.

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.