Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_contracts_by_project

Retrieve all contracts for a specific project by its unique short name and return contract status, dates, and related customer details.

Instructions

Retrieve all contracts associated with a specific project. Looks up the project by its unique short name and returns all contracts linked to it, including contract details such as status, dates, and related customer information.

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": {
      "shortName": "<shortName>"
    },
    "name": "get_contracts_by_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
shortNameYesThe unique short name identifier of the project whose contracts should be retrieved.

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, the description carries the full burden. It does disclose the return contents (status, dates, related customer information), which is useful for a read-only lookup, but says nothing about pagination, behavior when the short name is unknown (empty result vs error), or authorization requirements.

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?

Two sentences, front-loaded with the action and scope. The second sentence mildly repeats the first ('retrieve all contracts... returns all contracts linked to it'), but the added return-content detail largely earns its place.

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?

A simple one-parameter lookup with no output schema, so describing return fields is genuinely helpful. Still missing are not-found behavior and result-size limits, which an agent would need to call and interpret results correctly.

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% and the single parameter is fully described there, so the baseline applies. The description restates that the lookup uses the project's 'unique short name' but adds no format, casing, or example details beyond the schema.

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 all contracts associated with a specific project', which is clear and distinct from the bulk listing or customer-scoped variants by virtue of its project short-name key. It does not, however, explicitly name a sibling it is not (e.g. get_customer_contracts or list_contracts), so differentiation is left partly implicit.

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

Usage Guidelines3/5

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

Usage is implied by the 'associated with a specific project' framing — an agent can infer this is the project-keyed access path. There is no explicit when-to-use vs when-not, no mention of the customer-scoped or full-list alternatives, and no stated prerequisite that a valid project short name must already exist.

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