Skip to main content
Glama

Check setup

check_setup
Read-onlyIdempotent

Checks whether Cloudflare is connected and reports which services a workflow's nodes still need, so users can fix setup early or poll connection request progress.

Instructions

Check whether the user can deploy right now and what is missing: whether Cloudflare is connected (including the one-time workers.dev subdomain step, which otherwise only fails after a deploy) and, given a workflowId, which services its nodes need that are not connected yet (missingProviders). Call it early, while building, so the user can fix setup in parallel. After request_connections, call it again with that sessionId to poll the user's progress: connectionRequest.complete turns true once they are done. Never returns a secret.

Input Schema

NameRequiredDescriptionDefault
sessionIdNoA sessionId from request_connections, to poll that request's progress.
workflowIdNoAlso report which services this workflow still needs connected.

Output Schema

NameRequiredDescriptionDefault
readyYes
providersYes
cloudflareYes
missingProvidersYes
connectionRequestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds meaningful context: the workers.dev step otherwise fails only after a deploy, polling semantics via connectionRequest.complete, and the 'Never returns a secret' guarantee. However, it partly restates response fields that the output schema already documents, so it earns credit for the failure-mode and security notes rather than full behavioral detail.

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 sentences, both dense; the core purpose is front-loaded. The nested parentheticals make the first sentence heavy, but no sentence is filler.

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

Completeness5/5

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

Output schema exists so return values needn't be explained, yet the description still highlights the key field for the polling loop (connectionRequest.complete). Combined with the auth/setup prerequisites it covers everything an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both parameters are documented in the schema, so baseline is 3; the description adds real meaning by tying sessionId to polling a request_connections session and workflowId to reporting unconnected node providers (missingProviders).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (check whether the user can deploy and what is missing) and enumerates the concrete scopes: Cloudflare connection incl. the workers.dev subdomain step, and per-workflow missingProviders. Clearly distinguishable from siblings like get_deployment_status or validate_workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit timing ('Call it early, while building') and a named sequencing rule with its alternative ('After request_connections, call it again with that sessionId'). The when-to-call and what-to-call-after are both stated.

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