Skip to main content
Glama

memoryguard_invoke

Destructive

Invoke a registered operation from the MemoryGuard capability catalog. Only published handlers run; mutating targets need confirmed=true and an idempotency key.

Instructions

Invoke one operation published by memoryguard_capabilities, including a headless broker operation that shares a GUI name. Never accepts an unpublished native handler. Mutating targets require confirmed=true and idempotency_key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsYesarguments for that registered operation
confirmedNorequired for a mutating target
operationYesregistered MCP operation name from capability catalog
idempotency_keyNorequired retry key for a mutating target

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.12

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorld=true and idempotent=false; the description adds real value beyond them by disclosing the confirmed=true and idempotency_key gating for mutating targets and the validation rule that unpublished native handlers are rejected. It still doesn't describe failure behavior or the blast radius of a destructive invocation.

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?

Three short sentences, no filler, with the routing constraint and the mutation precondition front-loaded. The middle sentence about the GUI-name-sharing broker operation is the one piece that costs clarity without earning its space.

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

Completeness3/5

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

For an open-world, destructive, generic dispatcher with a nested arguments object and no output schema, the description covers admission rules but omits how arguments are validated, what a successful or rejected invocation returns, and how errors surface. Adequate but with clear gaps for this level of complexity.

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% and the schema already labels confirmed and idempotency_key as 'required for a mutating target', so the description largely restates structured data. It reinforces the conditional requirement but adds no format or syntax detail about the arguments payload.

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 action (invoke one operation) and constrains the resource to operations published by memoryguard_capabilities, which differentiates it from the direct siblings like memoryguard_memory_write. The clause about a 'headless broker operation that shares a GUI name' is idiosyncratic and adds ambiguity rather than clarity.

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?

It implies a workflow (look up the operation in the capability catalog first) and gives the precondition for mutating targets, but never says when to prefer this dispatcher over the concrete sibling tools such as memoryguard_memory_write or memoryguard_memory_delete. Usage is implied rather than stated.

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