Skip to main content
Glama

Refresh domain status

refresh_domain
DestructiveIdempotent

Refresh status of your already connected domain through the existing backend. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "domain": "<domain>"
    },
    "name": "refresh_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

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?

Adds substantial behavior beyond annotations: the call returns awaiting_confirmation plus approval_url, nothing executes before owner approval, and request_id must be reused on retries. This is consistent with idempotentHint=true. However, annotations declare destructiveHint=true while the description frames the operation as merely refreshing "status" and never says what data the approved work changes or removes, leaving the destructive impact undisclosed.

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?

Three front-loaded sentences that state purpose, then return values, then the approval gate. "Reuse request_id on retries" is repeated at the end after the retry instruction already implied it, a minor redundancy but not damaging.

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 explains the returned awaiting_confirmation and approval_url and the gate on execution. What is missing is disclosure of the destructive effect flagged by annotations and any meaning for the domain parameter.

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 50%: request_id is already well documented in the schema, and the description mostly reinforces that with the approval/retry rule. The domain parameter has no schema description and none is supplied here, so the description does not compensate for the remaining gap. Baseline 3 applies when the schema carries part of the load.

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: "Refresh status of your already connected domain." The qualifier "already connected" implicitly separates it from connect_domain, so an agent can distinguish onboarding from refreshing, 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 Guidelines4/5

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

Clear context for use: only for domains that are already connected, and the approval-plus-retry loop is spelled out (approve in Cormak, then retry with the SAME request_id). It lacks an explicit "do not use this to connect a new domain" exclusion, which keeps it short of a 5.

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.