Skip to main content
Glama

list_ai_code_commits

Retrieve AI code commit metrics within a date range, optionally filtered by user. Provides paginated results for analyzing AI-generated code activity.

Instructions

List AI commit metrics (GET /analytics/ai-code/commits).

Args: start_date: Optional start (ISO, now, 7d). Default ~7 days ago. end_date: Optional end (ISO, now, 0d). Default now. user: Optional single-user filter (email, user_..., or numeric id). page: 1-based page (default 1). page_size: Results per page (default 100, max 1000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
userNo
end_dateNo
page_sizeNo
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description discloses default values, date formats, pagination behavior, and user filter format, which is good. However, it does not explicitly state that the operation is read-only or mention rate limits.

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?

The description is well-structured with bullet points and a clear header. It is concise but includes necessary details; could be slightly more succinct by removing redundant default info already in schema.

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?

Given the output schema exists, return value documentation is not needed. The description covers all parameters and provides useful context like max page size and default dates. Missing sorting or ordering details, but overall complete.

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

Parameters5/5

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

Schema coverage is 0%, so the description fully compensates by explaining each parameter's format, default, and constraints (e.g., ISO dates, user ID formats, page size max). This adds significant meaning beyond the schema.

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 tool lists AI commit metrics with the specific HTTP method and path, distinguishing it from siblings like get_ai_code_commit_details and list_ai_code_changes.

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?

While it provides parameter details, it lacks explicit guidance on when to use this tool versus alternatives like get_ai_code_commit_details for single commits or download_ai_code_commits_csv for CSV export. Usage context is implied but not stated.

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/PhillipChaffee/cursor-api-mcp'

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