Skip to main content
Glama
erniomaldo

agentcheckpoint

by erniomaldo

get_state

Read the current value of a checkpoint by key, returning JSON, version, and timestamp. Prevents stale state for AI agents by confirming key existence with a not_found response.

Instructions

Read the current value of a checkpoint by key. Returns the latest stored JSON value, its version, and update timestamp. Returns {"status": "not_found"} if key doesn't exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesCheckpoint key, e.g. 'workflow:plan-2026-06-12'
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the return payload (latest JSON value, version, update timestamp) and the not_found behavior, which fully covers the observable behavior of this read-only tool.

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 two sentences, front-loaded with the core purpose. No wasted words.

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?

The tool is simple (one parameter, read-only). The description explains the return format and the not_found case, which is complete for this operation. An output schema is absent, so the description's return value explanation is sufficient.

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?

Input schema has 100% coverage of the single 'key' parameter with an example. The description does not add additional parameter semantics beyond the schema, so it stays at the baseline for schema coverage.

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 specifies 'Read the current value of a checkpoint by key' with a clear verb and resource. It distinguishes from sibling tools (set_state, list_state, etc.) by describing the read semantics and return format.

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?

The description provides clear context for when to use the tool: to retrieve a stored checkpoint value. It does not explicitly mention alternatives or exclusions, but the sibling tool names make the distinction obvious.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/erniomaldo/agentcheckpoint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server