Skip to main content
Glama

ao_write

Write notes to the right vault—shared or personal—and auto-classify them in dual-vault mode so stored content remains retrievable and citable.

Instructions

Write content to the appropriate vault. Auto-classifies in dual-vault mode (shared vs personal).

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": {
      "content": "<content>"
    },
    "name": "ao_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoComma-separated tags.
vaultNoTarget vault: shared or personal.
contentYesNote content.
file_pathNoTarget file path.
principalNoUser/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL
vault_pathNo.
shared_vault_pathNoShared vault path (for dual mode).
personal_vault_pathNoPersonal vault path (for dual mode).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about overwrite semantics when file_path already exists, whether writes are destructive or reversible, ACL/principal enforcement, or what happens if dual-mode paths are missing. The only real behavioral disclosure is the auto-classification routing, which is useful but far from complete for a mutation tool.

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?

Two short sentences with no filler, and the core action is front-loaded before the dual-vault qualifier. The second sentence is terse to the point of ambiguity about what "auto-classifies" actually changes in behavior.

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?

An eight-parameter write tool with no annotations and no output schema needs more than two sentences. Missing are the overwrite/append behavior, error conditions, what the call returns (path, classification result), and how the three path parameters must be combined in dual mode.

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 88%, so the schema already documents nearly all parameters, and baseline is 3. The description adds genuine meaning about how vault selection interacts with dual-vault mode (shared vs personal), but it does not clarify vault_path, shared_vault_path, or personal_vault_path beyond what the schema states.

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 and resource ("Write content to the appropriate vault") and adds a distinguishing behavioral note about auto-classification in dual-vault mode. It does not explicitly name or contrast with a sibling such as ao_classify, which keeps it below a 5.

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?

The mention of dual-vault auto-classification implies that the agent can omit a target and let the server route, but there is no explicit when-to-use, when-not-to-use, or named alternative. Guidance is inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.