Skip to main content
Glama

mcp-cloudflare-api__whoami

Read-only

Return the Cloudflare user or account that this connection is authenticated as. Takes no arguments. The id is stable across token refresh, reconnection and permission changes. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
site_idNoSite to run this tool on: bb028350-9e3e-46c0-bea7-cd6c2dedf060 (https://mcp.cloudflare.com/mcp)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false, so the safety profile is covered; the description adds genuinely new context: the id survives token refresh, reconnection and permission changes (a caching/dedup hint), and it discloses that Royally's server auto-approves it so there is no gating pause. It does not describe the returned fields, which is the remaining gap.

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?

Four short sentences, front-loaded with purpose, then the no-args fact, then the stability property, then the approval behavior. The 'Through Royally' framing is slightly meta but each sentence carries distinct information.

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 no-argument read-only identity probe with no output schema, the description covers what is returned at a conceptual level and how it behaves. It does not enumerate the concrete fields (email, account id, token scopes), which is the only notable omission.

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 site_id parameter is documented in-schema with its enum, so the baseline is 3. The description's 'Takes no arguments' is mildly at odds with the schema's optional site_id envelope parameter, but it correctly conveys that no content arguments need to be supplied.

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 precise verb and resource: 'Return the Cloudflare user or account that this connection is authenticated as.' That is unmistakably distinct from the WP/Elementor get_user_info siblings, which report WordPress users rather than connection credentials, though the description never says so explicitly.

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?

'Takes no arguments' and 'runs straight away' tell the agent it is cheap and frictionless, which implies it as a pre-flight identity check. However, there is no explicit statement of when to call it (e.g., before account-scoped operations) and no named alternative it is preferred over.

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.

Resources