Skip to main content
Glama

Save a hashtag group or a snippet

save_writing_asset

Save a reusable hashtag group or text snippet (a signature, a disclaimer, a recurring call to action) for this workspace and return its id. Saved items appear in list_writing_assets, which the team and future captions draw on; check it first to avoid duplicates. It only stores text: nothing is published.

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": {
      "kind": "<kind>",
      "name": "<name>"
    },
    "name": "save_writing_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes"hashtags" for a hashtag group, "snippet" for a reusable text.
nameYesShort label to find it later, e.g. "Summer sale" or "Email signature".
textNoRequired with kind "snippet": the text to reuse.
hashtagsNoRequired with kind "hashtags": the hashtags of the group, e.g. ["#coffee", "#barista"].
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / hashtags / description
      Previous value: -"For kind=hashtags."New value: +"Required with kind \"hashtags\": the hashtags of the group, e.g. [\"#coffee\", \"#barista\"]."
    • addedInput schema / properties / kind / description
      Added value: +"\"hashtags\" for a hashtag group, \"snippet\" for a reusable text."
    • addedInput schema / properties / name / description
      Added value: +"Short label to find it later, e.g. \"Summer sale\" or \"Email signature\"."
    • changedInput schema / properties / text / description
      Previous value: -"For kind=snippet."New value: +"Required with kind \"snippet\": the text to reuse."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-destructive, non-open-world, non-read-only, so the description doesn't need to restate safety. It adds real value beyond them: the item becomes visible in `list_writing_assets` and feeds future captions, the call returns an `id`, and nothing is published. It does not discuss failure modes or retry behavior in prose.

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?

Three sentences, front-loaded with the action and its return value, followed by the dedupe pointer and the side-effect boundary. No filler and nothing repeated from the schema or annotations.

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 six-parameter write tool with full schema coverage and safety annotations, the description covers what an agent needs: what it creates, how it relates to the listing sibling, what it returns, and what it explicitly does not do. Return value is noted even without an output schema.

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%, so all six parameters (including the kind enum, conditional text/hashtags, workspaceId fallback, and idempotencyKey) are already documented. The description only marginally adds meaning by giving snippet examples (a signature, a disclaimer, a recurring CTA), which is the baseline-plus level rather than compensating for any gap.

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?

The description states a specific verb ("Save") and two concrete resources ("hashtag group" and "text snippet"), gives examples of what a snippet is, and says it returns the `id`. It is clearly distinguishable from the read-only sibling `list_writing_assets`, which it names explicitly.

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

Usage Guidelines4/5

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

It tells the agent to check `list_writing_assets` first to avoid duplicates, and it excludes a class of use ("only stores text: nothing is published"). What is missing is any guidance on when to pick this over the other save_* siblings (e.g., save_edit_style), though those are clearly different resource types.

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