Skip to main content
Glama

ohmyho.st

Get environment preview

preview_get
Read-onlyIdempotent

Read the private live preview for the specified project and environment. Returns its private link, state, saved and applied versions, expiry, failure details, database readiness and ready_to_show. Links last at most 24 hours. Database readiness is reported independently of ready_to_show. Preview does not persist application data.

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>"
    },
    "name": "preview_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
environmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior5/5

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

Annotations already cover the safety profile, and the description adds real behavior on top: links expire within 24 hours, database readiness is reported independently of ready_to_show, and application data does not persist in the preview. These are operational facts an agent could not derive from the annotations or schema.

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?

Front-loaded with purpose, then return contents, then caveats. The enumeration of returned fields is justified because there is no output schema; wording is dense but nearly every clause carries information.

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?

With no output schema, the description correctly compensates by listing the return payload (link, state, versions, expiry, failure details, database readiness, ready_to_show) and adds expiry and persistence caveats. It does not say what happens when no preview exists or whether the call triggers provisioning, which is the main residual gap.

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% for two required parameters, and the description only says 'for the specified project and environment' without explaining the project ID format or what the dev/prod environment distinction implies for the returned preview. It adds essentially nothing beyond the schema.

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: 'Read the private live preview for the specified project and environment.' The word 'Read' and 'private' implicitly separate it from mutating siblings like preview_open, preview_stop and preview_rotate, but 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative tool is named, even though preview_open, preview_draft and preview_stop are plausible confusions. The agent must infer that this is the read-only inspection path from the verb alone.

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.