Skip to main content
Glama

update_profile

Merge profile changes to personalize flashcard content and settings, then return the full updated profile. Use it when users share preferences or ask to adjust card style, language, or section size.

Instructions

Merge patch into the user's profile and return the full updated profile. Only include the keys to change, e.g. {"level": "advanced", "style": {"math": "full"}}. Nested objects merge; lists are replaced; null resets a key to its default. Valid values: cards_per_section = [min, max] with 1 <= min <= max <= 20; style.analogies / style.include_numbers = true|false; style.math = "none" | "when essential" | "full"; language is a code like "en". Use this when the user tells you about themselves or asks to personalize the cards.

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": {
      "patch": "<patch>"
    },
    "name": "update_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses partial-update semantics ('only include the keys to change'), merge rules for nested objects, list replacement, and that null resets a key to its default — mutation behavior an agent could not otherwise infer. It does not say whether changes persist permanently or what happens on invalid keys/values, so it falls short of the highest mark.

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?

Dense and largely front-loaded: action and return come first, then example, then merge semantics, then valid values. Every sentence contributes, though the usage guidance is placed last rather than up front and the value list is long enough to slightly dilute the lead.

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 one-parameter mutation tool with no output schema and no annotations, this is close to complete: it explains merge/replace/reset behavior, enumerates valid values, and describes the return. Minor gaps remain around error handling and behavior for unknown keys, which the open `additionalProperties` schema leaves undefined.

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

Parameters5/5

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

Schema coverage is 0% and the single `patch` parameter is an untyped open object, so the description must compensate — and it does, supplying a concrete example payload plus accepted value ranges for cards_per_section, style.analogies, style.include_numbers, style.math, and language. This is meaningfully more than the schema conveys.

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 opens with a specific verb and resource ('Merge `patch` into the user's profile') and also states the return shape ('return the full updated profile'), which clearly separates it from a read-only sibling like get_profile. An agent knows exactly what operation this performs.

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 gives a clear triggering condition: 'Use this when the user tells you about themselves or asks to personalize the cards.' That is actionable context, but no exclusions or named alternatives (e.g. reading vs writing profile) are stated, so it stops short of full routing guidance.

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