Skip to main content
Glama

App storage

app_state
Read-onlyIdempotent

App storage for the widget. Widget only.

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": {
      "hub": "<hub>",
      "id": "<id>"
    },
    "name": "app_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesapp id
hubYeshub key
sinceNoreturn only entries changed after this seq

Output Schema

NameRequiredDescriptionDefault
sinceYes
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered elsewhere. The description adds no extra behavioral context such as what the returned entries represent, whether the `since` cursor yields an incremental delta, or what happens when there is no matching app. "Widget only" is the sole added signal and it is ambiguous.

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

Conciseness3/5

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

Two short sentences with no filler, which is structurally clean. However, the brevity comes at the cost of specification: the second fragment is cryptic and the first is a restatement, so the words that are present do not fully earn their place. It is concise but under-informative rather than efficient.

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?

With an output schema and full annotation coverage, the description does not need to explain return values or safety. It still must convey what the tool fundamentally does and how it relates to app_state_set, and it fails on both. For a storage-access tool in a large sibling set, this leaves a real gap.

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%, with `id`, `hub`, and `since` each documented inline, so parameter meaning is already carried by structured data. The description adds nothing beyond that, which is acceptable at full coverage. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"App storage for the widget" essentially restates the name app_state and the title "App storage" without a verb; it never says whether the tool reads state, lists entries, or returns a snapshot. The added phrase "Widget only" hints at a scope restriction but is cryptic rather than clarifying. An agent cannot confidently tell this apart from app_state_set based on the description alone.

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 when-to-use guidance and no mention of the obvious sibling app_state_set, so the read-vs-write distinction must be inferred from annotations and names. "Widget only" is a boundary, not usage guidance, and it is unclear whether it refers to widget-scoped apps or widget contexts. Prerequisites (a hub key and app id being required) go unmentioned.

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