Skip to main content
Glama

vk_post_user_a8a50f03a2a2

Enroll a user in TOTP two-factor authentication by creating an initial setup in the database. Follow with the enable TOTP endpoint to verify the setup.

Instructions

Enroll a user into totp. Raw Vikunja REST proxy for POST /user/settings/totp/enroll. Creates an initial setup for the user in the db. After this step, the user needs to verify they have a working totp setup with the "enable totp" endpoint. Pass the JSON request payload in the optional body field. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Authentication is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoOptional JSON request body. Some Vikunja endpoints accept payloads even when the Swagger snapshot omits the schema.
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that it creates an initial DB setup, requires authentication, and is a raw proxy. However, it does not state idempotency, whether existing TOTP settings are overwritten, or what the response looks like. This is adequate but not rich.

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 four sentences and front-loads the main purpose. Each sentence provides useful context: proxy endpoint, DB setup, next step, body field, aliases, auth. It is slightly wordy but every clause earns its place.

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 one-parameter proxy without output schema or annotations, the description is reasonably complete. It explains the two-step TOTP flow, clarifies the body field, and notes authentication. The confusing path/query statement and lack of response details prevent a perfect score, but it is sufficient for an agent to invoke 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% (only optional 'body' property). The description repeats that the body is an optional JSON payload, which is already in the schema. It also mentions path/query parameter aliases, but no such parameters exist in the schema, so this adds confusion rather than clarity. No additional meaning beyond schema.

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 clearly identifies the action: 'Enroll a user into totp.' It specifies the exact endpoint (POST /user/settings/totp/enroll) and distinguishes this step from the subsequent 'enable totp' endpoint, making it unambiguous among the many vk_post_user_* siblings.

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?

It provides a clear usage sequence: enroll first, then verify via the 'enable totp' endpoint. This implicitly tells the agent when to use this tool. It does not explicitly mention alternatives or exclusions, but the step-by-step context is strong enough for a 4.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shichao402/vikunja-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server