Skip to main content
Glama

BillPeak

Check a business electricity bill

scan_bill
Read-onlyIdempotent

Use this when a small business wants its electricity bill checked, a cheaper rate plan, the cost of a coming rate change, or its peak kW explained. A partial call is fine: always call scan_bill first with whatever numbers or place the user gave (e.g. bill: { total: 640 }, address: 'Phoenix, AZ' without kWh, or only kWh without an address, or a short Green Button CSV snippet, or a Texas retail bill), and the tool returns need_input with missing (plus peaks when interval rows are sent) or no_rates for Texas retail. Pass bill (kwh, kw, total, rate, utility, dates, charges; omit what is not stated, never guess) or bill_text, plus address (city, street, or ZIP), optional usage_csv and current_rate. Free; nothing stored.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bill": {
        "kw": 9,
        "kwh": 2150,
        "rate": "GS-17",
        "total": 471.7,
        "utility": "Georgia Power"
      },
      "address": "1 Sample Way, Atlanta, GA 30303"
    },
    "name": "scan_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNoBill numbers already read or typed (even partial, such as only total or only kwh)
addressNoService address, city (such as 'Phoenix, AZ'), or ZIP code; pass whatever location the user named, even just a city
bill_textNoThe text of the bill, pasted or from the PDF text layer
usage_csvNoA Green Button or utility interval usage CSV (15-minute, 30-minute or hourly)
current_rateNoThe rate plan the business is on, when the bill does not name it

Output Schema

NameRequiredDescriptionDefault
billYesThe bill numbers the scan used
as_ofYesISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch.
offerYes
peaksYes
plansYesOther plans this business can use, cheapest first
noticeYes
sourceYesWho the data comes from, to cite and to check it against.
statusYes
messageYesWhat the scan found, or what it needs, in plain words
missingYesInputs that would make the answer exact
sourcesYes
utilityYes
findingsYesPlain sentences, largest money first
upcomingYes
current_rateYes
recalculationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedOutput schema / properties / current_rate / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "enum": [
      -          "bill",
      -          "caller",
      -          "best_fit"
      -        ],
      -        "type": "string"
      -      },
      -      "monthly_cost": {
      -        "anyOf": [
      -          {
      -            "description": "US dollars",
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "start_date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "url",
      -      "start_date",
      -      "matched_by",
      -      "monthly_cost"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "matched_by": {
      +        "enum": [
      +          "bill",
      +          "caller",
      +          "best_fit"
      +        ],
      +        "type": "string"
      +      },
      +      "monthly_cost": {
      +        "anyOf": [
      +          {
      +            "description": "US dollars",
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "start_date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "url",
      +      "start_date",
      +      "matched_by",
      +      "monthly_cost"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / plans / items / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / plans / items / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / peak_kw / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / peak_kw / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / source_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / source_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / utility / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "eia_id": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "others_at_address": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "eia_id",
      -      "others_at_address"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "eia_id": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "others_at_address": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "eia_id",
      +      "others_at_address"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed10 schema fields changed
    • changedOutput schema / properties / current_rate / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "enum": [
      -          "bill",
      -          "caller",
      -          "best_fit"
      -        ],
      -        "type": "string"
      -      },
      -      "monthly_cost": {
      -        "anyOf": [
      -          {
      -            "description": "US dollars",
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "start_date": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "url",
      -      "start_date",
      -      "matched_by",
      -      "monthly_cost"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "matched_by": {
      +        "enum": [
      +          "bill",
      +          "caller",
      +          "best_fit"
      +        ],
      +        "type": "string"
      +      },
      +      "monthly_cost": {
      +        "anyOf": [
      +          {
      +            "description": "US dollars",
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "start_date": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "url",
      +      "start_date",
      +      "matched_by",
      +      "monthly_cost"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / plans / items / properties / start_date / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / plans / items / properties / start_date / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / upcoming / items / properties / peak_kw / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / upcoming / items / properties / peak_kw / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / upcoming / items / properties / source_url / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / upcoming / items / properties / source_url / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / upcoming / items / properties / start_date / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / upcoming / items / properties / start_date / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • changedOutput schema / properties / utility / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "eia_id": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "others_at_address": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "eia_id",
      -      "others_at_address"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "eia_id": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "others_at_address": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "eia_id",
      +      "others_at_address"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed10 schema fields changed
    • changedOutput schema / properties / current_rate / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "enum": [
      -          "bill",
      -          "caller",
      -          "best_fit"
      -        ],
      -        "type": "string"
      -      },
      -      "monthly_cost": {
      -        "anyOf": [
      -          {
      -            "description": "US dollars",
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "start_date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "url",
      -      "start_date",
      -      "matched_by",
      -      "monthly_cost"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "matched_by": {
      +        "enum": [
      +          "bill",
      +          "caller",
      +          "best_fit"
      +        ],
      +        "type": "string"
      +      },
      +      "monthly_cost": {
      +        "anyOf": [
      +          {
      +            "description": "US dollars",
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "start_date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "url",
      +      "start_date",
      +      "matched_by",
      +      "monthly_cost"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / plans / items / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / plans / items / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / peak_kw / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / peak_kw / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / source_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / source_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / upcoming / items / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / upcoming / items / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / utility / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "eia_id": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "others_at_address": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "eia_id",
      -      "others_at_address"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "eia_id": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "others_at_address": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "eia_id",
      +      "others_at_address"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description still adds real behavioral value beyond them: it discloses the return discriminator ('need_input' with `missing`, plus `peaks` when interval rows are sent, or `no_rates` for Texas retail) and the cost/privacy posture ('Free; nothing stored'). It does not cover latency, size limits on the 8MB CSV, or error modes beyond the two named tokens, which keeps it below a 5.

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?

Front-loaded correctly: the trigger condition comes before the mechanics, and the closing 'Free; nothing stored' is a useful, terse reassurance. The middle sentence is heavily parenthesized and dense with examples, which costs some readability, but every clause carries non-redundant information so nothing is wasted.

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?

An output schema exists, so return values need not be spelled out, yet the description still names the two decision-relevant return tokens. Combined with zero required parameters, a 100%-documented nested schema, and explicit partial-call expectations, an agent has everything needed to invoke this correctly on the first attempt.

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 100%, so baseline is 3 and the schema already documents every field including nested bill sub-properties. The description compensates for the one thing the schema cannot say: that all inputs are optional and partial submissions are the expected path, and that unstated fields must be omitted rather than inferred. That is genuine semantic guidance 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 opens with a concrete verb+resource framing ('electricity bill checked') and enumerates the four concrete outcomes an agent might want (rate plan comparison, rate-change cost, peak kW explanation). It is immediately distinguishable from the unrelated siblings (feedback/tools indexing) and tells the agent exactly what class of problem this tool solves.

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?

Explicit when-to-use is given upfront, and the description goes further than most by defining the partial-input contract: 'always call scan_bill first with whatever numbers or place the user gave', with four concrete examples of acceptable partial calls (total only, address without kWh, kWh without address, CSV snippet, Texas retail bill). It also states the guardrail 'omit what is not stated, never guess', which is usage guidance, not schema restatement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.