Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Get invoices for period

get_latest_invoices_for_period
Read-only

Retrieve invoices for a specified year and month, optionally filtered by reseller context or grouped by departments, to review billing periods.

Instructions

GetLatestInvoicesForPeriod — invoices for year/month.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": "<year>",
      "month": "<month>"
    },
    "name": "get_latest_invoices_for_period"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/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 safety is covered structurally. The description adds no behavioral context such as what 'latest' means, ordering, pagination, or whether the result is per-month aggregate — it merely echoes the name.

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

Conciseness2/5

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

It is short, but this is under-specification rather than conciseness: a single fragment that duplicates the tool name. Brevity here costs the agent needed information rather than eliminating waste.

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

Completeness2/5

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

For a 4-parameter tool with no output schema and an undocumented grouping flag, the description is far too thin. An agent cannot tell how results are shaped, what grouping does, or how this differs from sibling invoice tools.

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 25%, and the description only maps year/month, which the schema already makes obvious via required fields. It says nothing about groupByDepartments or the resellerContext account ID, so it fails to compensate for the low coverage.

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

Purpose2/5

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

The description restates the tool name almost verbatim ('GetLatestInvoicesForPeriod — invoices for year/month'), adding only the year/month scoping. It does not distinguish this from siblings like get_latest_invoices or get_preview_invoices, leaving the agent unable to tell what makes this variant distinct.

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 when-to-use or when-not-to-use guidance, and no mention of the obvious alternatives (get_latest_invoices, get_preview_invoices). The agent must guess whether 'latest' invoices for a period differ from the plain latest-invoices tool.

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