Skip to main content
Glama

agent_train_record_update

Destructive

Replace the synthesized content of one trained agent memory record

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": {
      "workspaceSlug": "<workspaceSlug>",
      "agentSlug": "<agentSlug>",
      "recordSlug": "<recordSlug>",
      "body": "<body>"
    },
    "name": "agent_train_record_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
agentSlugYes
recordSlugYes
workspaceSlugYes

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 flag destructiveHint=true and readOnlyHint=false, so the write/irreversible nature is covered by structured data. The description adds one piece of real context beyond that: only the synthesized content is replaced (not the source), which matters for a record with multiple representations. It says nothing about whether the prior content is recoverable or what permissions are required.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness is part of why other dimensions are under-served.

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?

This is a destructive mutation on a nested-payload schema with zero parameter documentation and no output schema, so the description carries the full burden — and one short sentence does not cover payload format, addressing, or recovery semantics.

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 0% across four required parameters, and the description compensates for almost none of it. It never explains workspaceSlug/agentSlug/recordSlug addressing, nor does it state that body.content holds the full replacement payload — the nesting of body is entirely undocumented.

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?

Specific verb 'Replace' plus a precise resource: 'the synthesized content of one trained agent memory record'. The word 'synthesized' usefully distinguishes the payload from source material, which is what sibling tools like agent_train_record_source_get operate on. It does not explicitly name a sibling, but the verb+resource is clear enough for selection.

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?

No when-to-use guidance at all — nothing says when to replace versus restage or update a source record, and no prerequisites (e.g. whether the record must already be trained) are given. Usage must be inferred entirely from the verb.

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.

Resources