Skip to main content
Glama

Bill Graph

bill_graph
Read-onlyIdempotent

Render a bill graph as an image for a selected billing period; choose bits for traffic or monthly for transfer per month.

Instructions

Render a bill graph as an image.

For the underlying numbers rather than a picture, use bill_graph_data.

Input Schema

NameRequiredDescriptionDefault
bill_idYesBill ID
graph_typeYesGraph type for the current billing period: 'bits' (traffic) or 'monthly' (transfer per month)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.12.0
    • changedInput schema / properties / graph_type / description
      Previous value: -"Graph type: bits, monthly, hour, or day"New value: +"Graph type for the current billing period: 'bits' (traffic) or 'monthly' (transfer per month)"
    • addedInput schema / properties / graph_type / enum
      Added value: +[
      +  "bits",
      +  "monthly"
      +]
  2. Changed1 schema field changedv1.11.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. First observedv1.9.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds that the output is an image, which is useful context, but says nothing about format, size, or rendering behavior beyond that.

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?

Two short sentences, zero waste, and the image-vs-numbers distinction is front-loaded and immediately actionable.

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?

For a read-only, idempotent rendering tool with 100% schema coverage and no output schema, the description covers what the tool returns (an image) and how to get raw numbers instead. Adequate, though it could note the image format or any size limits.

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% and the graph_type enum is documented in the schema with meanings for 'bits' and 'monthly'. The description adds no parameter detail beyond what the schema already provides, so baseline 3 applies.

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?

States a specific verb and resource ('Render a bill graph as an image') and names the sibling it is not (bill_graph_data) with the distinguishing criterion (image vs numbers). Clear, though 'bill graph' is somewhat generic given many *_graph siblings.

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

Usage Guidelines4/5

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

Explicitly routes the agent: use bill_graph for an image, bill_graph_data for the underlying numbers. Names the alternative and the condition that selects it, though it doesn't exclude other graph siblings like bill_history_graph.

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

Deploy Server

Other Tools