Skip to main content
Glama

opdater_profil

Destructive

Update household profile fields such as weekly budget and product preferences to remember them for future shopping.

Instructions

Ret husstandens profil. aendringer er kun de felter, der skal ændres, fx {"ugebudget_kr": 1500} eller {"varepraeferencer": [...], "fra_husstanden": []}. De mulige felter står under felter i vis_profil. Lister erstattes helt, så send hele den nye liste. Brug den, når husstanden siger, at noget skal huskes til fremover.

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": {
      "aendringer": "<aendringer>"
    },
    "name": "opdater_profil"
  }
}

Input Schema

NameRequiredDescriptionDefault
aendringerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.37.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds the crucial detail behind that risk: lists are replaced wholesale, so a partial list silently drops entries. It also clarifies that `aendringer` is a partial patch (only changed fields), which prevents an agent from sending a full overwrite. It does not cover permissions, validation failures, or what an unknown field key does, and the patch semantics sit slightly oddly against idempotentHint=false.

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?

Four short sentences, front-loaded with the core patch semantics before the examples and the usage trigger. Every sentence carries information; the only mild inefficiency is the parenthetical example payload, which is still illustrative rather than redundant.

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 destructive one-parameter write tool with an untyped nested payload and no output schema, the description covers the essential unknowns: what gets mutated, that it is a partial update, that lists overwrite, and where to find valid fields. Error behavior and return values remain unaddressed, but nothing critical for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 0% for a free-form nested object with additionalProperties=true, so the description carries the full burden and does so well: it gives two concrete payload examples, explains partial-update semantics, and routes the agent to vis_profil's `felter` for the valid key catalog. It stops short of documenting value types or validation for individual fields.

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?

"Ret husstandens profil" states a concrete verb (update) plus the resource (the household profile), and the reference to `felter` in vis_profil implicitly separates this write tool from the read-only sibling. It stops short of naming the alternative explicitly, so an agent must infer the read/write split.

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?

"Brug den, når husstanden siger, at noget skal huskes til fremover" gives a clear trigger condition tied to durable preferences. There is no when-not guidance (e.g. what to do for one-off basket changes versus persistent profile edits), but the read counterpart vis_profil is pointed to for discovering valid fields.

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