Skip to main content
Glama

webdiet_anamnese_write_save

Create / update anamnesis records in WebDiet. Actions: save (create or update — anamnese_id empty = new), save_interpretation (save AI/nutritionist interpretation), duplicate (copy existing record). For destructive removal use webdiet_anamnese_delete.

[Flattened action: save]

Bulk support: accepts patient_ids, anamnese_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textoNo
tituloNo
accountNo
patient_idYes
anamnese_idNo
patient_idsNo
anamnese_idsNo
interpretacaoNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already indicate this is a write operation (readOnlyHint=false, destructiveHint=false). The description adds value by specifying that the tool handles creation and update, and explicitly references the delete sibling for destructive actions. It also mentions bulk execution. However, it lacks details on side effects (e.g., whether it replaces or merges data), return values, or authorization requirements, leaving some behavioral aspects undisclosed beyond what annotations provide.

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 primary purpose and key actions. It is reasonably concise but includes some extraneous details (e.g., listing all actions when the tool is for 'save' only). The structure is logical, with the main purpose first, followed by clarification of the flattened action and bulk support. A slight reduction in redundancy could improve conciseness.

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?

Given the tool's complexity (8 parameters, 1 required, no output schema), the description covers the core operation and bulk support but lacks explanations for multiple parameters (`texto`, `titulo`, `account`). It also does not describe return values or post-conditions. While adequate for basic use, gaps in parameter semantics and behavioral details reduce completeness.

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?

With 0% schema description coverage, the description must compensate. It explains the role of `anamnese_id` (empty = new), and bulk support for `patient_ids` and `anamnese_ids`. However, it omits explanations for `texto`, `titulo`, `account`, and `interpretacao` (though `interpretacao` may relate to a sibling tool). This leaves several parameters semantically unclear, limiting the agent's ability to use them correctly.

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 states the tool's purpose: 'Create / update anamnesis records in WebDiet.' It specifies the action (save, create/update) and the resource (anamnesis records). It distinguishes from the sibling `webdiet_anamnese_delete` for destructive removal, and the mention of 'Flattened action: save' clarifies that this tool focuses on the save operation, differentiating it from other write actions like duplicate and save_interpretation which are separate sibling tools.

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 provides clear context for when to use this tool (to create or update anamnesis records) and explicitly directs users to `webdiet_anamnese_delete` for destructive removal. It also notes bulk support via patient_ids and anamnese_ids. However, it does not detail prerequisites (e.g., patient existence) or limitations, nor does it explicitly contrast with sibling write tools beyond the delete hint.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.1/5.0
Disambiguation3/5

Tools are split by action (e.g., separate list, get, write tools for each resource), which makes boundaries somewhat clear, but the sheer number of similar tools (62 total) and repeated descriptions create confusion. An agent must carefully read each tool to pick the correct one, especially when multiple write tools exist for the same resource.

Naming Consistency2/5

Naming conventions are inconsistent. Some tools use `webdiet_<resource>_write_<action>`, others use `webdiet_<resource>_<action>` (e.g., `webdiet_calculo_energetico_write_create` vs. `webdiet_create_antropometria`). There are also tools like `webdiet_food_search` that break the pattern. This makes it hard to predict tool names.

Tool Count2/5

62 tools is excessive for a nutritionist platform. Many action variants (list, get, create, save, publish, delete, etc.) are split into separate tools rather than parameterized within a single tool. This bloats the tool list and could be consolidated to ~20-30 tools without losing functionality.

Completeness4/5

The server covers a very wide range of features: patient management, anamnesis, anthropometry, energy calculations, prescriptions (with multiple methods), financials, pre-consultation questionnaires, orientations, food search, file upload, and more. Minor gaps exist (e.g., no explicit tool for meal reactions), but overall the surface is comprehensive for its domain.