Skip to main content
Glama

Write a store value

store_put
DestructiveIdempotent

Writes one value of a site's store, replacing any there was — the site's functions read it on their next call. Only when the person asked: a value they did not mean to change is gone. A value is text up to 64 KiB; refused while the store is full or the month's store operations are spent. Never write back a value store_get answered with truncated: true: it is only the start of what is stored, and writing it would cut the rest off for good.

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": {
      "site": "<site>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "store_put"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe key, as store_list shows it. Up to 512 bytes; any characters, `:` and `/` included.
siteYesSubdomain or site id, from list_sites.
valueYesThe value, as text. Up to 64 KiB.

Output Schema

NameRequiredDescriptionDefault
keyYesThe key written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructive/idempotent annotations: it explains observable effects (functions read the new value on their next call), failure conditions (store full, monthly store operations exhausted), size limits, and a data-loss hazard where a truncated value would permanently cut stored content. This is exactly the context annotations cannot carry.

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?

Front-loaded with the action and its overwrite semantics, then the caution, then limits, then the truncation hazard. Every sentence carries weight, though 'replacing any there was' is slightly awkward phrasing and the size limit duplicates the schema.

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 destructive write with an output schema and fully documented params, the description covers the remaining gaps an agent needs: overwrite consequences, consent expectation, quota/limit refusals, and the truncated-read trap. Nothing material is missing.

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 100%, so baseline is 3. The description repeats the 64 KiB text constraint already in the schema and says nothing about the 'site' or 'key' parameters; only the truncation warning adds meaning about the value argument beyond the schema.

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?

States a specific verb and resource — 'Writes one value of a site's store' — and immediately clarifies scope with 'replacing any there was,' which distinguishes it from store_get/store_delete and from any append-like behavior.

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?

Gives a strong exclusion rule ('Only when the person asked') and a second concrete when-not ('Never write back a value store_get answered with `truncated: true`'). It does not name an alternative tool for read-only inspection, but the conditional guidance is clear and actionable.

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.