Skip to main content
Glama

Highland Intel APIs

Invoice number

invoice-number
Read-only

Formats PREFIX-YYYYMM-NNNNN-C with a Luhn check digit, or validates one. Returns { invoice } when formatting, or { valid } when validating. Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.

Input Schema

NameRequiredDescriptionDefault
prefixNoTwo to six upper-case letters.HIC
yyyymmNoYear and month as YYYYMM; defaults to the current UTC month.
sequenceNoInvoice sequence number. Required unless validate is given.
validateNoAn invoice number to check instead of formatting one; when given, the other fields are ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing the return shape for each mode ({ invoice } vs { valid }), the billing model (1 credit = 1 CAD cent per successful call), and the failure policy (schema-invalid input is rejected before billing). These are exactly the facts an agent needs before invoking a paid 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?

Three tight sentences, front-loaded with the core action and output format, followed by return values and then the cost caveat. No filler or 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?

With no output schema, the description fully covers return values for both modes, the cost, and the billing-failure rule. All four parameters are documented at 100% schema coverage, leaving nothing an agent needs missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning by showing how prefix, yyyymm, and sequence compose into the output string (including a five-digit zero-padded sequence and an appended check digit) that the schema itself does not state.

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?

States a specific verb (formats/validates) and resource (invoice number), and spells out the exact output template PREFIX-YYYYMM-NNNNN-C with a Luhn check digit. The dual formatting/validation mode is disambiguated in the first sentence, so an agent knows precisely what it gets.

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?

Clearly indicates the two usage modes and that they are mutually exclusive by mode ('or validates one'), which the schema reinforces with the validate field ignoring the others. There are no close sibling alternatives in the catalog (uuid, hash serve different purposes), so explicit exclusion guidance is not needed.

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.

Resources