Skip to main content
Glama

cloudflare_get_zone

Read-onlyIdempotent

Retrieve a Cloudflare zone by name or ID to inspect its status, name servers, account, plan, development mode, page rule quota, and token permissions.

Instructions

One zone by name or ID: ID, status, name servers (and the ones before Cloudflare), account, plan, development mode, page rule quota, and the permissions the token has on it.

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": {
      "zone": "<zone>"
    },
    "name": "cloudflare_get_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesThe zone: its name (example.com.au) or its 32-character zone ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Read-only, idempotent, non-destructive behavior is already fully declared by the annotations, so the description's added burden is small. It does contribute return-content context ('the permissions the token has on it', 'name servers (and the ones before Cloudflare)'), which is useful with no output schema, but it says nothing about error behavior when the zone is not found or is inaccessible.

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?

One front-loaded sentence with no filler; the cardinatity constraint ('One zone') arrives first. The parenthetical '(and the ones before Cloudflare)' is slightly awkward but carries real meaning about nameserver history.

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?

Because there is no output schema, the description's field inventory does necessary work and covers most of what an agent needs to decide to call it. The remaining gap is edge-case behavior — what happens for a nonexistent or unauthorized zone — which is minor for a single-parameter read tool.

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% and the single parameter's schema description already gives both accepted forms (example.com.au or a 32-character zone ID). The description's phrase 'by name or ID' merely restates that, adding no format, casing, or ambiguity-resolution guidance.

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?

The description opens with a specific resource and cardinality ('One zone by name or ID') and then enumerates the fields returned, so an agent can immediately tell this is a single-zone detail fetch rather than a listing. It does not explicitly name cloudflare_list_zones as the alternative, which keeps it 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?

Usage is only implied: 'One zone' suggests it is the tool for a single known zone, and 'by name or ID' hints at the two lookup modes. There is no statement of when to prefer it over cloudflare_list_zones or cloudflare_get_zone_settings, and no prerequisites such as required token scopes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.