Skip to main content
Glama

nitro_set_memory

DestructiveIdempotent

Read or update the brand's AI memory document: durable preferences, insights and notes.

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": {
      "operation": "<operation>"
    },
    "name": "nitro_set_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNoNew content for the section (patch) or text to append (append).
dry_runNo
headingNo## section heading, e.g. 'Preferences'. Required for patch; optional for append.
documentNoFull markdown document (required for update).
operationYesread: get current document. update: replace entirely. patch: replace a ## section by heading. append: add text to end, or the lines a heading's section lacks.
idempotency_keyNoRequired for non-dry-run append without heading. Reuse only for an exact retry. Update, patch and headed append are sets and may omit it.
expected_brand_sidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / expected_brand_sid
      Added value: +{
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / heading / description
      Previous value: -"Section heading to patch (e.g. 'Brand Goals'). Required for patch operation. Matches ## headings."New value: +"## section heading, e.g. 'Preferences'. Required for patch; optional for append."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Required for non-dry-run append. Reuse the same key only for an exact retry. Update and patch are set operations and may omit it."New value: +"Required for non-dry-run append without heading. Reuse only for an exact retry. Update, patch and headed append are sets and may omit it."
    • changedInput schema / properties / operation / description
      Previous value: -"read: get current document. update: replace entirely. patch: replace a ## section by heading. append: add text to end."New value: +"read: get current document. update: replace entirely. patch: replace a ## section by heading. append: add text to end, or the lines a heading's section lacks."
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered, but the description adds nothing about what gets destroyed (e.g. 'update' replaces the entire document), what dry_run protects, or why idempotency_key matters for append. For a destructive 7-parameter mutation tool, the description contributes almost no behavioral context beyond the resource name.

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?

One front-loaded sentence with no filler, and the resource is named before the detail. Its terseness is a completeness problem rather than a conciseness one.

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?

With seven parameters, four operation modes, an entirely destructive replace path, no output schema, and two undocumented parameters, a single purpose sentence is not sufficient. An agent could identify the tool but not call it correctly without reading the schema closely.

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 description coverage is 71%, with dry_run and expected_brand_sid effectively undocumented, yet the description explains no parameter at all — not the four operation modes, the heading/content pairing, or the idempotency_key requirement. It leaves the agent entirely dependent on the schema and its gaps.

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 ('read or update') and a precise resource ('the brand's AI memory document'), plus the content domain (durable preferences, insights, notes). It does not distinguish itself from the sibling nitro_get_memory, and by claiming a 'read' mode it creates ambiguity about which tool is the plain reader.

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?

The description gives no guidance on when to use which mode, when to prefer nitro_get_memory over this tool's read operation, or when patch/append/update should be chosen over one another. All such guidance lives only in the operation enum's schema text, not in the description.

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.