Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

activate_contract

Transitions a draft contract to active status by contract number, with an optional order confirmation email sent to the customer.

Instructions

Activate a contract, transitioning it from draft to active status. Optionally sends an order confirmation email to the customer upon activation.

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": "activate_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNumberYesThe unique contract number to activate.
sendOrderConfirmationNoWhether to send an order confirmation email to the customer upon activation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the state transition and the optional customer email side effect, but omits whether activation is reversible, what permissions are required, what happens if the contract is already active, or any failure behavior — significant gaps for a mutation tool with zero annotation coverage.

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 core action and followed by the side effect; every clause earns its place. It could be marginally sharper by stating the draft precondition as a constraint rather than a narrative.

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 two-parameter mutation with no output schema, the description conveys the action, the precondition, and the optional side effect — enough to call it correctly. What remains missing is edge-case behavior, which is minor given the tool's simplicity.

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 both parameters are already documented in the schema. The description only adds that the email send is optional and tied to activation, which corroborates but does not extend the schema — baseline 3 is appropriate.

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+resource ("Activate a contract") plus the state transition (draft to active), which meaningfully separates it from generic siblings like update_contract or cancel_contract. It stops short of naming an alternative explicitly, so it lands at clear-but-not-differentiating-against-siblings.

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?

The draft-status precondition implies when the tool applies, but the description never says what to do if the contract is not in draft, nor does it point to alternatives such as cancel_contract or update_contract. Usage is inferable rather than stated.

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