Skip to main content
Glama

memory_action_apply

Execute a governed ontology action and write an audit log entry.

Input Schema

NameRequiredDescriptionDefault
agentNoOverride agent identity
actionNoAlias for action_name
parametersYesParameters matching the action schema
action_nameNoRegistered action type name, e.g. link_entities

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses a real side effect (an audit log entry is written), but says nothing about permission/governance requirements, validation of the action against its schema, reversibility, or failure behavior for what is clearly 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?

A single front-loaded sentence with no filler; the action verb and its audit side effect lead. It is perhaps too terse for the tool's complexity, but nothing in it is wasted.

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 output schema exists, so return values need not be explained, but for a complex governed mutation tool with zero annotations the description is thin: it omits governance/permission expectations, error behavior, and how action_name is resolved. It does not do enough to let an agent call it confidently.

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 description coverage is 100%: every parameter (agent, action, action_name, parameters) is documented in the schema itself. The description adds no syntax, format, or example detail beyond the schema's own 'Registered action type name, e.g. link_entities', so the baseline 3 applies.

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 (Execute) and resource (governed ontology action), plus a secondary effect (audit log entry). It is distinguishable from the read-side sibling memory_action_log_list, but it never names that sibling or clarifies the boundary between applying an action and merely logging one.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named. The word 'governed' hints that policy applies, but the agent is not told which conditions select this tool over the many memory_ontology_* or memory_* siblings.

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.