Skip to main content
Glama

Update agent notes

update_agent_md
Idempotent

Update working agent notes (artifact agent_md) only on cards created by the agent (source_type=api). Human url/file cards → forbidden. Does NOT replace the source text (clean_md). Needs ingest:write. Pass id as UUID or silvalabs:doc//…. markdown empty string clears agent_md. Read back with get_doc view=agent_md. Not indexed in search in v1.

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>",
      "markdown": "<markdown>"
    },
    "name": "update_agent_md"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYessource_item UUID or silvalabs:doc/<uuid>/…
markdownYesNew agent_md body; empty string clears the notes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds real context beyond them: the required ingest:write scope, the eligibility restriction, the fact that an empty markdown string clears the notes, and that content is not searchable in v1. The one minor tension is that empty-string clearing removes content while destructiveHint=false, though for an agent-owned scratchpad this is defensible rather than contradictory.

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 and hard constraint, then supporting facts in short clauses with no filler. The telegraphic style and arrow shorthand ("Human url/file cards → forbidden") slightly reduce readability for an unfamiliar agent, but every clause carries information.

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

Completeness5/5

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

For a two-parameter mutation with no output schema, it covers everything needed to act: eligibility, prohibited targets, auth scope, accepted id formats, the clearing semantics, read-back path, and the v1 search limitation. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, and the description largely restates them (UUID or silvalabs:doc/<uuid>/… format, empty string clears). It does add the meaningful connection that the id must point at an agent-created card, but that is a constraint rather than syntax guidance. Baseline 3 is appropriate when the schema carries the parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Update working agent notes (artifact agent_md)") and immediately scopes it against a sibling concept: it does NOT replace the source text (clean_md), which is what update_doc_body presumably touches. An agent can distinguish this from update_doc_body without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit eligibility rules: only cards with source_type=api, and "Human url/file cards → forbidden" as a hard exclusion. It also routes the agent to get_doc view=agent_md for verification, so both the when and the follow-up are spelled out.

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