Skip to main content
Glama

publish_memory

Publish a draft only after the user explicitly confirms. Only Persian (Farsi) memories are accepted. Do not create or publish memories in English or any other language. Rejects other users’ drafts, expired drafts and duplicates. Suspicious memories are saved for review, not deleted.

Input Schema

NameRequiredDescriptionDefault
draft_idYes
user_confirmedYesMust be true only after the user approved the exact text and place.
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well by disclosing rejection conditions and clarifying that suspicious memories are saved for review rather than deleted. It does not cover permissions, idempotency behavior, or what a successful publish returns, but the core side effects and constraints are stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core rule is front-loaded in the first sentence, and each following sentence adds a distinct constraint or edge-case behavior. There is no wasted text.

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?

The description covers the business rules well, but for a three-parameter mutation with no annotations and no output schema, it leaves gaps around parameter meaning, idempotency, and response behavior. It is adequate but not fully complete for reliable invocation.

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 coverage is only 33%, with user_confirmed documented but draft_id and idempotency_key unexplained. The description does not clarify what draft_id identifies or how idempotency_key should be used, leaving important parameter meaning to inference.

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?

The description states a specific verb and resource: publishing a draft, with the key prerequisite of explicit user confirmation. It is distinguishable from create_memory_draft by focusing on publishing an existing draft, though it does not name the sibling explicitly.

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?

It gives explicit when-to-use guidance (only after user confirmation) and clear when-not conditions: no English or non-Persian memories, no other users’ drafts, no expired drafts, and no duplicates. It also explains the special case for suspicious memories.

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