Skip to main content
Glama
Cloudflare Workers MCP Server

Cloudflare Workers MCP Server

list_versions

Lists a Cloudflare Worker's recent versions in reverse chronological order with version ID, creation time, source, author, and message/tag for deployment history review.

Instructions

List a Worker's recent versions, newest first: version number and ID, creation time, source, author and the version message/tag. Read-only; needs CF_API_TOKEN.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWorker script name as shown in the Cloudflare dashboard, e.g. "my-worker".
limitNoHow many entries to return, newest first. Default 10, max 50.
account_idNoCloudflare account ID (32 hex characters). Optional when CF_ACCOUNT_ID is set in the server environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does well: it declares read-only semantics, the required CF_API_TOKEN auth, and the newest-first ordering. It stops short of covering pagination/truncation behavior when the version history exceeds the limit, which is the main remaining behavioral unknown.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the verb, resource, ordering, and return fields front-loaded, followed by the read-only and auth notes. There is no filler or redundant restatement of the name.

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?

For a three-parameter read-only list tool with full schema coverage, the description is nearly complete, and enumerating return fields usefully compensates for the absent output schema. Only pagination/truncation semantics for long version histories are left unaddressed.

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 description coverage is 100%, so name, limit, and account_id are already fully documented, including the default 10 / max 50 and the CF_ACCOUNT_ID fallback. The description's 'newest first' wording duplicates the schema rather than adding new meaning, so the baseline of 3 applies.

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?

Opens with a specific verb+resource ('List a Worker's recent versions') and enumerates the returned fields, so the agent knows exactly what it retrieves. It does not distinguish itself from siblings like list_deployments or get_worker, leaving the versions-vs-deployments boundary to be inferred from the resource noun alone.

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 implied by the resource ('recent versions, newest first') and a prerequisite is stated ('needs CF_API_TOKEN'), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative for getting a specific version versus a list.

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