Skip to main content
Glama

Update Learning

update_learning
DestructiveIdempotent

Update an existing learning entry. Only the fields provided are changed.

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": {
      "id": "<id>"
    },
    "name": "update_learning"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
urlNo
notesNo
titleNo
statusNo
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false; the description's single useful contribution is confirming PATCH-style partial mutation, which aligns with the idempotency hint. It never explains why the call is flagged destructive (e.g. that supplied fields are overwritten), what happens to invalid enum values, or whether permission/auth constraints exist, so it adds only modest value beyond the structured hints.

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 tightly written sentences with zero filler and the partial-update rule front-loaded. Brevity is appropriate for the format, though the second sentence carries nearly all the semantic weight for a six-parameter mutation.

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

Completeness2/5

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

For a six-parameter destructive mutation with no output schema and no parameter descriptions, the description should say what gets overwritten, what the response returns, and how failures surface. None of that is present, leaving an agent unable to predict consequences beyond the annotations' destructive flag.

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 coverage is 0% across six parameters, and the description names none of them — id, url, notes, title, status, category are documented only by bare types and enums. The sentence about omitted fields implies optionality but gives no meaning, formatting, or validation detail (e.g. uuid format, title minLength), so the description fails to compensate for the coverage gap.

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?

States a specific verb and resource ("Update an existing learning entry") and clarifies the partial-update contract ("Only the fields provided are changed"), which separates it from create_learning and delete_learning. It stops short of naming any sibling update_* tool or contrasting with them, so nothing rules out confusion with e.g. update_bookmark.

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?

Offers no when-to-use or when-not-to-use guidance: nothing says when to prefer this over create_learning (e.g. upsert-like behavior) or which sibling update_* tool handles a different resource. The only usable cue — that omitted fields are preserved — is a semantic property, not routing guidance.

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.