Skip to main content
Glama

Update semantic note

update_semantic

Creates or replaces a named knowledge sheet in the persona's memory (the title is the key).

`project_scope`: the project the entry belongs to. Omitted, the session's
project is used (the `X-Project-Scope` header, otherwise the server
default). Pass "global" for the general memory shared by all projects,
only for what holds in every project; the general memory is read on the
Pro plan only.

Content: facts, with code, paths and figures kept exact. At most 8 000
characters, 6 000 for the Core sheet; a new title at most 120.

summary: one line, 200 characters at most, served when the entry does not
fit at activation; a rewrite without it removes the previous one.

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": {
      "title": "<title>",
      "content_md": "<content_md>"
    },
    "name": "update_semantic"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
summaryNo
entitiesNo
content_mdYes
persona_slugNo
project_scopeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / persona_slug / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / persona_slug / default
      Previous value: -"soov"New value: +null
    • removedInput schema / properties / persona_slug / type
      Removed value: -"string"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only cover read/write/open-world/destructive flags, and the description adds real behavioral context: upsert-by-title semantics, size limits (8 000 chars, 6 000 for Core, 120 for title), the summary's 200-char activation role, and that a rewrite without a summary deletes the previous one. The disclosed 'replaces'/'removes' behavior sits in mild tension with destructiveHint=false, but the description is transparent about what is lost rather than hiding it.

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 one-line purpose statement is front-loaded and immediately followed by parameter-scoped notes. The prose is dense but nearly every sentence is operational (limits, keying, header fallback, summary removal); only the 'Content:' formatting is slightly awkward.

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?

With six parameters, zero schema coverage, and an output schema present (so returns need not be explained), the description covers the key mutation semantics, scoping rules, and hard limits. It falls short only on entities and persona_slug, whose meaning an agent must guess.

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 description coverage is 0%, so the description carries the burden and covers four of six parameters well: title as the key, project_scope's resolution order and 'global' semantics, summary's length and activation purpose, and content_md's format guidance ('facts, with code, paths and figures kept exact'). The entities and persona_slug parameters are left entirely undefined in both schema and description.

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 pair and resource: 'Creates or replaces a named knowledge sheet in the persona's memory', plus the keying rule '(the title is the key)'. It does not explicitly distinguish this from the sibling update_procedural (semantic vs. procedural memory), so the semantic-vs-procedural split is left to inference.

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?

Offers a clear usage rule for the project_scope parameter ('Pass "global" ... only for what holds in every project') and notes the general memory is read on the Pro plan only. However, there is no explicit when-to-use guidance relative to update_procedural, write_event, or search_memory — the agent must infer routing from the word 'semantic'.

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.