Skip to main content
Glama

INNERNET Agent Services

innernet_save_agent_state

Store encrypted structured state under a named key. Cost: 3000 micro-USDC in service credits or direct REST x402. Supply a stable idempotency_key. Client-encrypted inputs 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": {
      "envelope": "<envelope>",
      "namespace": "<namespace>",
      "key": "<key>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "innernet_save_agent_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
envelopeYes
namespaceYes
ttl_secondsNo
idempotency_keyYesUnique stable request ID. Reuse for retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does add useful behavior: cost of 3000 micro-USDC in credits or direct REST x402, retry-oriented idempotency, and client-side encryption. It still does not state whether writing an existing key overwrites state, what authorization is required beyond payment, or what the response returns.

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 three tight sentences with no wasted wording. The core action is front-loaded, followed by cost, idempotency, and encryption constraints in a logical order.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid mutation tool with a nested envelope, no annotations, and no output schema, the description covers key operational constraints such as cost and encryption. It remains incomplete because namespace scoping, TTL behavior, overwrite semantics, and expected response are not addressed.

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

Parameters2/5

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

Schema description coverage is only 20%, so the description needs to compensate. It explains the named key, idempotency key, and client-encrypted envelope, but leaves namespace and ttl_seconds entirely unexplained, and the idempotency guidance largely repeats what the schema already says.

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

Purpose4/5

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

The definition states a specific verb and resource: 'Store encrypted structured state under a named key.' It is clear what the tool does, but it does not distinguish this from nearby siblings such as innernet_save_agent_checkpoint or innernet_store_agent_memory.

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

Usage Guidelines3/5

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

It gives invocation constraints such as supplying a stable idempotency_key and using client-encrypted inputs only, which implies usage context. However, it provides no explicit guidance on when to use this tool rather than a checkpoint, memory, or context-transfer sibling.

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.