Skip to main content
Glama
dlaporte

openai-usage-mcp

by dlaporte

Server Quality Checklist

67%
Profile completionA complete profile improves this server's visibility in search results.
  • Latest release: v0.1.0

  • Disambiguation5/5

    Each tool has a clearly distinct purpose: costs for dollar spend, usage for token/request counts, and cost-comparison for month-over-month variance. The descriptions explicitly cross-reference 'DO NOT USE THIS TOOL FOR' statements, eliminating ambiguity.

    Naming Consistency4/5

    Tool names are primarily single-word nouns (costs, usage) with one hyphenated compound (cost-comparison). While not following a verb_noun pattern, the names are short and readable, though the hyphen introduces a minor inconsistency.

    Tool Count5/5

    Three tools is a well-scoped count for an OpenAI usage/cost tracking server. Each tool covers a distinct aspect of the domain (cost, usage, comparison) and fits within the ideal 3-15 tool range.

    Completeness4/5

    The surface covers the core domain of cost and usage tracking, including summary, daily, and raw detail levels, plus month-over-month cost comparison. Missing a dedicated usage-comparison tool or project/service listing, but these are minor and can be worked around via parameters.

  • Average 4.8/5 across 3 of 3 tools scored.

    See the Tool Scores section below for per-tool breakdowns.

    • No community issues in the last 6 months
    • 0 commits in the last 12 weeks
    • No stable releases found
    • No critical vulnerability alerts
    • No high-severity vulnerability alerts
    • No code scanning findings
    • CI status not available
  • This repository is licensed under MIT License.

  • This repository includes a README.md file.

  • No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.

    Tip: use the "Try in Browser" feature on the server page to seed initial usage.

  • Add a glama.json file to provide metadata about your server.

  • If you are the author, simply .

    If the server belongs to an organization, first add glama.json to the root of your repository:

    {
      "$schema": "https://glama.ai/mcp/schemas/server.json",
      "maintainers": [
        "your-github-username"
      ]
    }

    Then . Browse examples.

  • Add related servers to improve discoverability.

How to sync the server with GitHub?

Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.

To manually sync the server, click the "Sync Server" button in the MCP server admin interface.

How is the quality score calculated?

The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).

Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.

Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).

Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.

Tool Scores

  • Behavior4/5

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

    No annotations are provided, so the description carries full transparency burden. It discloses detail levels with output characteristics (e.g., 'Compact total + top-N breakdown table (~20 lines)'), default parameter values, anomaly detection behavior, and date formatting requirements. It does not mention error handling or access permissions, but for a read-only query tool the disclosed behavioral traits are substantial.

    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 well-structured with bolded section headers, uses imperative bullet lists, and packs information efficiently into about one screen. No filler—every section addresses a distinct concern (purpose, usage, detail levels, defaults, examples, date format).

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

    Completeness5/5

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

    The tool has a moderate complexity level with 5 parameters and an output schema. The description covers use cases, alternatives, detail-level semantics, defaults, and examples, which is sufficient for an agent to select and invoke correctly. The presence of an output schema offsets the need to enumerate return fields, and the examples give concrete invocation patterns.

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

    Parameters4/5

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

    Schema description coverage is 0%, so the description must compensate. It resolves ambiguity by specifying defaults for all optional parameters (detail_level, group_by, top_n, end_time) and providing concrete examples that illustrate parameter use. The statement that 'summary (default)' and 'top-N' clarify top_n's role. The allowed group_by values are only partially specified (line_item and project_id), but examples cover typical usage.

    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 opens with 'Query OpenAI dollar-amount spend data,' clearly identifying the verb and resource. It distinguishes from siblings by explicitly naming the 'usage' and 'cost-comparison' tools in the DO NOT USE section, making its purpose unmistakable.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines5/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    The description has dedicated 'USE THIS TOOL FOR' and 'DO NOT USE THIS TOOL FOR' sections. It lists specific use cases (total spend, daily breakdown, month-to-date forecast, anomaly detection) and explicitly directs users to alternative tools for token counts and month-over-month comparison, satisfying both when and when-not guidance.

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

  • Behavior4/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. It discloses defaults (detail_level='summary', bucket_width='1d', top_n=10, end_time=today), service types, detail levels, and date format. However, it does not explicitly state that the operation is read-only or mention potential limitations like pagination, though the word 'Query' strongly implies a non-mutating operation.

    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 well-structured with headers, bullet lists, and example calls. It front-loads the purpose, then logically presents usage instructions, service types, detail levels, defaults, and examples. Every sentence contributes value, and the format is scannable without unnecessary padding.

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

    Completeness5/5

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

    For a 9-parameter tool with no schema descriptions and no annotations, this description covers all key aspects: when to use, when not to use, service types, detail levels, defaults, examples, and date formatting. The output schema exists (per context signals), so return-value details are not required in the description. This is a comprehensive and self-contained guide.

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

    Parameters4/5

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

    The schema has 0% description coverage, so the description must compensate. It does so by listing service types, detailing detail levels, explaining defaults, and providing examples that illustrate parameter usage (e.g., 'group_by="project_id"' for project breakdown). However, not every parameter (e.g., project_ids, top_n) receives an explicit definition, though their meanings are inferable from context and examples.

    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 'Query OpenAI token and request usage data by service type' with a specific verb and resource. It also distinguishes itself from sibling tools by explicitly saying 'DO NOT USE THIS TOOL FOR: Dollar-amount costs (use 'costs' tool instead)'. This makes the purpose unambiguous and differentiates it from alternatives.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines5/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    The description provides explicit 'USE THIS TOOL FOR' and 'DO NOT USE THIS TOOL FOR' sections, listing alternative tools ('costs' and 'cost-comparison') for excluded use cases. It also includes concrete examples of when to call the tool (e.g., 'GPT-4o usage this month'), making the usage context crystal clear.

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

  • Behavior5/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 transparently explains what the tool returns (total spend, per-line-item comparison, biggest movers), the constraint that it compares full calendar months, and includes examples. This is comprehensive behavioral coverage.

    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 appropriately sized for a tool with 4 parameters and multiple usage scenarios. It is well-structured with clear sections (USE, DO NOT USE, PARAMETERS, OUTPUT, EXAMPLES), front-loaded with the main purpose, and every section earns its place without redundancy.

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

    Completeness5/5

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

    The tool has 4 parameters, no schema descriptions, and no annotations, but the description compensates fully. It includes parameter details, output structure, examples, and distinctions from sibling tools. This is a complete and self-sufficient description for an agent.

    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?

    The schema description coverage is 0%, so the description must compensate. It does so thoroughly by explaining each parameter's format (YYYY-MM), default values, allowed options for group_by ('line_item', 'project_id', or both), and top_n semantics. The description adds substantial meaning beyond the bare 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's purpose: 'Compare OpenAI costs between two months to identify spending changes.' It uses a specific verb and resource, and explicitly distinguishes itself from sibling tools 'costs' and 'usage' by naming them in the DO NOT USE section.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines5/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    The description provides explicit USE THIS TOOL FOR and DO NOT USE THIS TOOL FOR sections, including specific alternative tools ('costs' for single-month analysis, 'usage' for token/request data). This gives clear when-to-use and when-not-to-use guidance.

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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues.
  • Evaluate tool definition quality.

Our badge communicates server capabilities, safety, and installation instructions.

Card Badge

openai-usage-mcp MCP server

Copy to your README.md:

Score Badge

openai-usage-mcp MCP server

Copy to your README.md:

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/dlaporte/openai-usage-mcp'

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