Skip to main content
Glama

bill_history_graph

Read-onlyIdempotent

Generate an image graph for a past billing period using bill ID, history ID, and graph type (bits, monthly, hour, or day).

Instructions

Render a graph for a past billing period as an image.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bill_idYesBill ID
graph_typeYesGraph type: bits, monthly, hour, or day
history_idYesBill history ID
Behavior4/5

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

Annotations already declare the operation read-only, idempotent, and non-destructive; the description adds that it outputs an image and restricts itself to a past billing period, providing useful behavioral context without contradicting annotations.

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 only two sentences, with the primary purpose in the first sentence and a helpful cross-reference in the second, with no unnecessary content.

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?

Given the simple nature of rendering an image and the fully documented schema, the description adequately explains the return type (image) and points to the sibling for raw data, covering all essential aspects.

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?

The input schema provides descriptions for all three parameters, including valid values for graph_type, and the description adds no additional parameter information; with 100% schema coverage, the baseline score applies.

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 'Render a graph for a past billing period as an image', specifying both the action and resource, and distinguishes itself from the data-focused alternative by mentioning 'bill_history_graph_data'.

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 explicitly provides an alternative tool for when numeric data is needed ('For the underlying numbers rather than a picture, use bill_history_graph_data'), giving clear when-to-use guidance and naming the alternative.

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/mhajder/librenms-mcp'

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