Skip to main content
Glama
pocc

cloudflare-mcp

by pocc

get_ai_gateway_logs

Retrieve AI Gateway logs for a specific account and gateway to monitor activity, analyze performance, and troubleshoot errors.

Instructions

Get logs for an AI Gateway

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesThe account ID
gateway_idYesThe AI Gateway ID

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only says 'Get logs', implying a read operation, but does not describe log pagination, retention, output format, account-level vs gateway-level scoping behavior, or any relevant limitations. This is insufficient for a tool that retrieves potentially large or complex log data.

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

Conciseness3/5

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

The description is a single, short sentence and is not verbose, so it is easy to parse. However, it is under-specified: it omits key contextual details such as time range, pagination, or the nature of the logs, making it efficient in wording but not fully informative.

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?

The tool has no output schema, no annotations, and only two parameters, but 'logs' is a broad concept that typically requires clarification about filtering, time windows, limits, and response format. The description does not cover these aspects, and the sibling context includes many similar get/list tools, making this definition incomplete for confident invocation.

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?

The input schema already has 100% coverage with descriptions for both parameters ('The account ID' and 'The AI Gateway ID'). Since the schema fully documents the parameters, the baseline is 3, and the description adds no additional semantic value beyond what the schema already provides.

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 uses a specific verb and resource ('Get logs for an AI Gateway'), making the core operation clear. However, it does not distinguish this from the many related AI Gateway tools in the sibling list, such as get_ai_gateway_route or list_ai_gateways, beyond the mention of logs. It is clear enough for basic selection but not fully differentiated.

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?

No usage context is provided. The description does not state when to use this tool versus alternatives, whether it is read-only, whether pagination or time-range parameters are supported, or any conditions that would make it the correct choice among the extensive sibling list. An agent would have to infer usage entirely from the name and parameters.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pocc/cloudflare-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server