Skip to main content
Glama

Ration Kitchen Agent Server

update_user_preferences

Idempotent

Patch the calling user's settings (allergens, expirationAlertDays, theme, manifestSettings). Only provided fields are updated.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_user_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNo
allergensNo
expirationAlertDaysNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
metaNo
toolYes
errorNo
outcomeNo
warningsNo
requestIdNo
retryableNo
operationIdNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=false, so the safety profile is covered upstream. The description adds genuine context with the partial-patch behavior, but omits what happens to omitted or array-valued fields and gives no auth or rate-limit detail; combined with a field ('manifestSettings') that the schema does not accept, this is only moderate added value.

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?

Two short sentences, front-loaded with the operation and scope, with the patch semantics stated up front. The parenthetical field list is the only bloat, and it contains a field the schema does not support, which costs a point.

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?

With annotations and an output schema present, the description need not cover returns or safety, and it does explain partial updating. However, for a mutation with three optional parameters and zero schema documentation, key behaviors (array replacement semantics, effect of the 365/0 bounds on expirationAlertDays, the phantom manifestSettings field) remain unaddressed.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, but it only restates parameter names that are already visible in the schema and never explains semantics such as whether 'allergens' replaces or merges the existing list, or what 'expirationAlertDays' counts toward. It also names 'manifestSettings', which is absent from the schema, creating confusion rather than clarity.

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

Purpose4/5

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

The description gives a specific verb and resource ('Patch the calling user's settings') and enumerates the affected fields, so an agent can distinguish it from get_user_preferences by direction (write vs. read). The implicit scoping to the calling user (no user identifier parameter) is a useful detail, but the field list includes 'manifestSettings', which does not exist in the input schema, slightly muddying the stated purpose.

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

Usage Guidelines3/5

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

The sentence 'Only provided fields are updated' implies partial-update semantics, which is a relevant usage hint, but the description never states when to reach for this tool versus siblings such as get_user_preferences, nor any prerequisites. Usage is inferable rather than guided.

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.

Resources