Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

delete_activity

Permanently delete an unbilled activity by UUID. Use this to remove activity records before invoicing; activities already included on an invoice cannot be deleted.

Instructions

Delete an activity by its UUID. Permanently removes the activity record from the system. Only unbilled activities can be deleted; activities that have already been included on an invoice cannot be removed.

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": {
      "uuid": "<uuid>"
    },
    "name": "delete_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesThe unique UUID identifier of the activity to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does disclose the two things an agent most needs: the operation is permanent/irreversible and it is gated on billing status. It does not mention required permissions, side effects on related records, or the error returned for a rejected deletion.

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?

Three short sentences, front-loaded with the action and followed by effect and constraint; nothing is padded. The middle sentence partially restates the first, though it does add the word 'permanently'.

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 single-parameter destructive tool with no output schema, the definition covers action, irreversibility, and eligibility. Missing only peripheral detail such as permission requirements and failure modes, which an agent could still call correctly without.

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 description coverage is 100% and the single uuid parameter is fully documented in the schema. The description only restates that the identifier is a UUID, adding no format, sourcing, or lookup guidance beyond the structured field.

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

Purpose5/5

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

States a specific verb and resource ('Delete an activity by its UUID') and immediately clarifies the effect ('Permanently removes the activity record'). It is trivially distinguishable from the create_activity counterpart in the sibling list.

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

Usage Guidelines4/5

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

Provides an explicit precondition — only unbilled activities can be deleted, invoiced ones cannot — which tells the agent when this call will fail. It stops short of naming an alternative course of action for invoiced activities (e.g., voiding or crediting), so the routing guidance is incomplete.

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