Skip to main content
Glama

sassy_state_get

Read-onlyIdempotent

Fetch a tool's saved JSON value from persistent state by key, surviving server restarts. Returns null if unset—use to read checkpoints, cursors, or preferences.

Instructions

Read-only. Retrieves one value from the persistent per-tool SQLite state store (tool_state.db in the SassyMCP home directory), surviving server restarts. Required: tool_name namespaces the key under a tool; required: key is the stored key. Returns the JSON-decoded value (whatever was saved with sassy_state_set) or null if the tool/key was never set. Use to read remembered state such as checkpoints, cursors, or preferences; use sassy_state_clear to delete and sassy_state_set to write. This is separate from the memory system — it is for tool operational state, not semantic memories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
tool_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.15.1
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "title": "Result",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • changedOutput schema / title
      Previous value: -"sassy_state_getOutput"New value: +"sassy_state_getDictOutput"
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Despite annotations already covering readOnlyHint, idempotentHint, and destructiveHint, the description adds meaningful behavioral context: persistence across server restarts, JSON-decoded return value, and null return for unset keys. This adds value beyond the structured annotations and fully discloses observable behavior.

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 description is compact yet information-dense. It front-loads the read-only nature and core retrieval action, then covers requirements, return behavior, and usage guidance in a logical flow. No filler or redundancy—every sentence earns its place.

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 simple getter tool with an output schema, the description explains the return value (JSON-decoded or null) and the persistence semantics. It addresses both required parameters and distinguishes this state store from the memory system. No critical information an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden. It explains that tool_name 'namespaces the key under a tool' and key is 'the stored key', giving semantic meaning beyond the bare schema property names. It lacks format examples or constraints, but for simple string params this is sufficient.

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?

Description states a specific verb ('Retrieves'), resource ('persistent per-tool SQLite state store'), and explicitly differentiates from siblings by naming sassy_state_set and sassy_state_clear, plus distinguishing from the memory system. An agent can determine exactly what this tool does and what it is not.

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?

Provides explicit when-to-use guidance: 'Use to read remembered state such as checkpoints, cursors, or preferences' and routes to alternatives: 'use sassy_state_clear to delete and sassy_state_set to write.' Also clarifies it is separate from the memory system, preventing misuse. Nothing is left to inference.

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

Deploy Server

Other Tools