Skip to main content
Glama

analytics

Obtain analytics data for model endpoints, with metrics on request counts, latency averages and percentiles, and success/error rates.

Instructions

Get analytics data for model endpoints with time-bucketed metrics. Returns request counts, latency statistics (avg, p50, p95, p99), and success/error rates. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_idsYesEndpoint ID(s) to get analytics for (e.g., ['fal-ai/flux/dev']). Must provide at least 1, maximum 50 endpoint IDs.
startNoStart date in ISO8601 format (e.g., '2025-01-01T00:00:00Z' or '2025-01-01'). Defaults to 24 hours ago.
endNoEnd date in ISO8601 format (e.g., '2025-01-31T23:59:59Z' or '2025-01-31'). Defaults to current time.
timezoneNoTimezone for date aggregation (e.g., 'UTC', 'America/New_York'). Defaults to 'UTC'.UTC
timeframeNoTime bucket size for aggregation. Auto-detected from date range if not specified.
bound_to_timeframeNoWhether to align start/end dates to timeframe boundaries. Defaults to true.
metricNoOptional: Filter to return only specific metric in response.
cursorNoPagination cursor from previous response.
limitNoMaximum number of items to return.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions authentication and the type of data returned but does not discuss rate limits, pagination behavior, data retention, or error handling. The description is adequate but not thorough.

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?

The description is three sentences long, front-loads the action and resource, lists key metrics, and notes authentication. Every sentence adds value with no redundancy.

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

Completeness3/5

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

Given 9 parameters (including cursor/limit for pagination) and no output schema, the description covers the core purpose and metrics but omits mention of pagination, timezone handling, or auto-detection of timeframe. The schema fills some gaps, but the description could be more complete for a tool of this complexity.

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%, so the schema documents all parameters. The description adds context about the return metrics (latency percentiles, success/error rates) but does not provide additional meaning for individual parameters beyond the schema. Baseline 3 is appropriate.

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?

The description clearly states the action ('Get analytics data'), the resource ('for model endpoints'), and specifies the returned metrics (request counts, latency statistics, success/error rates). It distinguishes itself from sibling tools like 'usage' by focusing on time-bucketed metrics and latency percentiles.

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?

The description provides no guidance on when to use this tool versus alternatives, no exclusion criteria, and no context about prerequisites beyond authentication. The sibling tools list (e.g., 'estimate_cost', 'generate') suggests different use cases, but the description does not help the agent differentiate.

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/derekalia/fal-mcp-ts'

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