Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

lock_user_login

Locks a user login for the customer center to prevent sign-in and optionally sends a notification email; reactivate later to restore access.

Instructions

Lock a user login for the customer center. Changes the login status to locked, preventing the user from signing in. The login can be reactivated later using the activate endpoint. Optionally send a notification email to inform the user that their account has been locked.

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": {
      "userLoginName": "<userLoginName>"
    },
    "name": "lock_user_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
notifyMailNoWhen true, a notification email is sent to the customer informing them that their login has been locked.
userLoginNameYesThe login name (username) of the user login to lock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the mutation effect, the prevention of sign-in, reversibility via activation, and the optional notification email, but it omits operational details such as required permissions, behavior when the login is already locked, or error conditions.

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?

The description is front-loaded with the core action and effect, then adds useful context about reactivation and notification. It is appropriately sized, though some wording could be tightened.

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?

For a mutation tool with no annotations and no output schema, the description covers the main action, effect, reversal path, and optional side effect. However, it leaves out operational details like authorization requirements and response behavior, which are relevant for a state-changing operation.

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%, so both parameters are already fully documented in the schema. The description reinforces the purpose of the optional notification email but adds no syntax or format details beyond what the schema provides, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: 'Lock a user login for the customer center,' and explains the effect ('Changes the login status to locked, preventing the user from signing in'). It also distinguishes the operation from its reversal by naming the activate endpoint.

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?

The description clearly indicates when to use this tool and points to the activate endpoint as the alternative for undoing the lock. It does not explicitly describe preconditions or when not to lock, but the primary usage context is clear.

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