Skip to main content
Glama

get_file_extensions

Analyze AI coding patterns by identifying which file types receive the most AI suggestions, accepts, and rejects in Cursor editor sessions.

Instructions

Get top file extensions being edited with AI: which file types get the most AI suggestions, accepts, and rejects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startDateNoStart date. Formats: "YYYY-MM-DD", "7d", "30d", "today", "yesterday". Default: "30d"
endDateNoEnd date. Formats: "YYYY-MM-DD", "today", "yesterday". Default: "today"
usersNoComma-separated emails to filter by specific users
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves data ('Get top file extensions'), implying a read-only operation, but doesn't mention potential side effects, authentication needs, rate limits, or data format. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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 a single, efficient sentence that front-loads the core purpose and includes key details (metrics: AI suggestions, accepts, rejects). There's no wasted verbiage or redundancy, making it easy to parse quickly.

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 the tool's moderate complexity (3 parameters, no output schema, no annotations), the description is partially complete. It clarifies the purpose and metrics but lacks behavioral context (e.g., data format, limitations) and usage guidelines. Without an output schema, it doesn't explain return values, leaving gaps in understanding what the tool delivers.

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 the schema already documents all three parameters (startDate, endDate, users) with formats and defaults. The description doesn't add any parameter-specific details beyond what's in the schema, such as explaining how 'users' filtering interacts with the metrics. Baseline 3 is appropriate when the schema handles parameter documentation.

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 specific action ('Get top file extensions') and resource ('being edited with AI'), distinguishing it from sibling tools like get_agent_edits or get_model_usage by focusing on file extension analytics rather than agent edits or model usage. It specifies the exact metrics involved: AI suggestions, accepts, and rejects.

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 explicit guidance is provided on when to use this tool versus alternatives. While it implies usage for analyzing AI editing patterns by file type, it doesn't mention prerequisites, exclusions, or compare to siblings like get_usage_events or get_daily_usage that might offer related data. The description lacks context for tool selection.

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/ofershap/cursor-usage'

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