Skip to main content
Glama

Check a preview domain now

check_preview_domain
Read-onlyIdempotent

Checks one of a project's preview domains now instead of waiting for CodeGene's own check (every minute in its first hour), and answers whether its records are in and every preview address with its state. Use it when the person says they added the records. It changes nothing the person has not already asked for.

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

Input Schema

NameRequiredDescriptionDefault
domainYesThe preview domain, such as preview.acme.com.
project_idYesThe project (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety bar is met structurally; the description adds the polling cadence of the built-in check, which is real context an agent cannot get elsewhere. The phrase 'It changes nothing the person has not already asked for' gestures at side-effect scope but is vague, and no rate limit or throttling on repeated manual checks is mentioned.

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?

The timing benefit and the trigger are front-loaded in a single sentence, followed by two short qualifying sentences. Wording like 'answers whether its records are in' is slightly loose, but nothing is redundant.

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 compensates by stating what the result contains (records-in status and each preview address with its state), and it covers trigger and side-effect scope for a three-parameter read tool. Only the relationship to sibling check tools is left implicit.

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 coverage is 100%, so project_id, domain, and workspace_id are already documented, including that list_projects supplies ids. The description adds only the framing that the domain is 'one of a project's' domains, which links the two required parameters but is marginal beyond the schema. Baseline 3 applies when the schema carries the weight.

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 ('Checks one of a project's preview domains now') and contrasts it with the alternative behavior of waiting for the automatic check that runs every minute in the first hour. It also says what comes back ('whether its records are in and every preview address with its state'). It does not differentiate from the similarly named sibling check_domain, which keeps it from 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 Guidelines4/5

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

Gives an explicit trigger: 'Use it when the person says they added the records,' and implicitly frames it as an on-demand alternative to waiting for the scheduled check. There are no explicit when-not-to-use conditions or a named alternative tool for related checks.

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