Skip to main content
Glama

Get a zone ruleset

get_zone_ruleset
Read-onlyIdempotent

Fetches a Cloudflare zone ruleset by ruleset ID so you can inspect its current configuration and rules for a zone.

Instructions

Fetches the latest version of a zone ruleset. Read operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private profile label. Account/zone defaults route inputs; token permissions remain provider controlled.
zone_idNo
ruleset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so safety semantics are covered. The description adds one genuinely useful behavioral detail — that it returns the 'latest version' rather than a pinned one — but 'Read operation' merely repeats the annotation and says nothing about versioning history, errors, or response shape.

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?

Two short, front-loaded sentences with no filler; the core action and the read-only nature come first. It is efficient, though the second sentence earns little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of explaining the returned ruleset, and it says only 'latest version'. Combined with 33% parameter coverage and no usage context, an agent lacks enough to call this confidently beyond the bare minimum.

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 only 33% and the description adds no parameter information whatsoever — it never explains ruleset_id (required), zone_id, or the 'account' profile label, nor the zone-vs-account routing hinted at in the schema. With coverage this low, the description is expected to compensate and does not.

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 (fetches) and resource (zone ruleset) plus the scope qualifier 'latest version'. This distinguishes it from list_zone_rulesets (plural enumeration) and from create/update/delete_zone_ruleset siblings, though the description never names those alternatives 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?

Only guidance is the terse 'Read operation.' There is no statement of when to use this versus list_zone_rulesets, update_zone_ruleset, or get_zone, and no prerequisites (e.g., needing a ruleset_id obtained elsewhere) are mentioned.

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