Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_contract_prices

Retrieve current prices for a contract or subscription, including all subscription items, with optional date and status filters for billing and review.

Instructions

Retrieve the current prices for a contract or subscription. Returns detailed pricing for all subscription items, optionally filtered by date and item status.

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": {
      "contractNumber": "<contractNumber>"
    },
    "name": "get_contract_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe date for which to retrieve prices in YYYY-MM-DD format. Defaults to today.
contractNumberYesThe unique contract number whose prices to retrieve.
subscriptionItemStatusNoFilter by subscription item status (e.g. ACTIVE, INACTIVE).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description must carry the behavioral burden; it does convey that pricing is read for all subscription items and can be narrowed by date and status. However, it says nothing about permissions, whether prices are stored versus calculated at call time, pagination, or the response structure — meaningful gaps for an unannotated tool.

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?

Two tight sentences with the core action and return scope front-loaded and no redundant wording. Every clause maps to something the agent needs.

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

Completeness4/5

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

For a simple three-parameter read tool with fully documented params and no output schema, the description covers purpose, return scope, and filtering options adequately. Only the exact nature of the returned 'detailed pricing' and access requirements remain unstated.

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?

Schema coverage is 100%, so all three parameters are already documented, including the YYYY-MM-DD format and status examples. The description restates the date and status filters without adding syntax, defaults, or edge-case meaning beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Retrieve the current prices for a contract or subscription') and clarifies the scope of return ('all subscription items'). It implicitly distinguishes itself from calculate_* and get_subscription_item_custom_prices siblings, but never names an alternative explicitly.

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 guidance on when to use this tool instead of calculate_order_template_prices, calculate_contract_item_price, or get_subscription_item_custom_prices. The optional date/status filtering is described but not framed as a usage decision, leaving the agent to infer the selection criteria.

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

Deploy Server

Other Tools