Skip to main content
Glama

Update procedural rule

update_procedural

Creates or replaces a named procedural rule 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 4 000
characters; 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_procedural"
  }
}

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.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the upsert-by-title behavior, the 4,000-character content and 120-character title ceilings, the plan gating on general memory, and specifically that a rewrite that omits summary 'removes the previous one' — a non-obvious destructive side effect the annotations do not convey. It stops short of stating whether content_md entirely overwrites prior content or whether errors occur on limit violations.

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?

Front-loaded with the core action in the first sentence, then organized per-parameter, with zero filler. A few constructions are telegraphic ('a new title at most 120'), but no sentence is wasted and the destructive summary-removal note is placed with the summary definition where it belongs.

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?

An output schema exists, so return values need not be described, and the mutation semantics and scoping are well covered. But for a six-parameter persona-memory tool, leaving both entities and persona_slug entirely unexplained means an agent cannot reason about which persona is affected or what entities accomplish.

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 must carry the load, and it does for four of six parameters: title as key, content_md content expectations and size limit, summary format and removal semantics, and project_scope fallback plus 'global' meaning. entities and persona_slug receive no explanation at all, which is a real gap given persona_slug determines which memory is mutated.

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 opens with a specific verb pair and resource: 'Creates or replaces a named procedural rule in the persona's memory', and even identifies the key ('the title is the key'), so the upsert semantics are unambiguous. It does not explicitly contrast itself with update_semantic, so an agent must infer the procedural-vs-semantic split from names alone.

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?

Useful scoping guidance is present: omitting project_scope falls back to the session project, and 'global' should be passed 'only for what holds in every project', with the Pro-plan restriction noted. However there is no guidance on when to choose this tool over update_semantic, nor on what happens versus creating a brand-new entry, leaving the create/replace decision implicit.

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.