Skip to main content
Glama
djwmarcx

Better Mealie MCP

Create Users Api Tokens

create_users_api_tokens

Create user API tokens directly in the Mealie database to enable authenticated API access for integrations. Specify a name and optional integration ID to generate the token.

Instructions

Create api_token in the Database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
integrationIdNo
accept-languageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.20.1

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'Create api_token in the Database,' which reveals nothing about authentication requirements, side effects, token generation behavior, 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.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief, but brevity comes at the cost of substance. It is under-specified rather than efficiently informative, and it does not earn its place by adding useful details beyond the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even with an output schema and a large set of sibling tools, the description fails to explain what creating an API token entails, who it is for, or how it relates to the users endpoints. An agent cannot reliably call this tool correctly from the description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain what 'name', 'integrationId', or 'accept-language' mean for this operation. An agent cannot determine which parameters are required beyond the schema's structural 'required' field or how they affect the created token.

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

Purpose3/5

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

The description states a concrete action ('Create api_token') and identifies the resource, so the basic purpose is clear. However, it lacks context about the 'users' scope implied by the tool name and does not differentiate this from sibling tools like create_auth_token or delete_users_api_tokens_by_token.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus alternatives such as create_auth_token or other token-related operations. The description provides no context, prerequisites, or exclusions, leaving the agent to guess from the tool name alone.

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