Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Get preview invoices

get_preview_invoices
Read-only

Retrieve a preview of invoices for the current open billing month, optionally grouped by departments and filtered by reseller context, to review upcoming charges.

Instructions

GetPreviewInvoices — current open billing month preview.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_preview_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
resellerContextNoOptional reseller context Account ID (omit if unused)
groupByDepartmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not explain whether preview figures are provisional/mutable as the month progresses, whether amounts are pro-rated, or how grouping affects the response — the most decision-relevant facts for a 'preview' tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single line is front-loaded and free of waste, which is good. But at roughly ten words it is under-specified rather than genuinely concise — the brevity comes at the cost of the scope and parameter detail an agent needs.

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

Completeness3/5

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

The tool itself is simple: two optional parameters, no nested objects, no output schema, and read-only annotations. That low complexity means the sparse description is not disqualifying, but it still leaves the meaning of 'preview' and the effect of groupByDepartments unexplained.

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

Parameters2/5

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

Schema description coverage is only 50%: resellerContext is documented in the schema, but groupByDepartments has no description anywhere. The narrative says nothing about either parameter — no statement of what grouping by department does to the returned preview — so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource and adds a scope qualifier ("current open billing month preview"), which tells the agent this returns a not-yet-finalized month rather than historical invoices. However, the verb is only implied by the tool name, and it never states what a "preview" actually contains or how it differs from get_latest_invoices / get_latest_invoices_for_period.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The phrase "current open billing month" hints at a temporal context, but the agent must infer that closed months belong to a sibling tool such as get_latest_invoices_for_period. No prerequisites or alternatives are named.

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