Skip to main content
Glama
WarToolsAI MCP Server

WarToolsAI MCP Server

kv.get

Retrieves a previously stored JSON value from a session namespace by key, letting AI agents recall saved state across steps.

Instructions

Retrieve a previously stored JSON value from a session namespace.

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": {
      "key": "<key>"
    },
    "name": "kv.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
namespaceNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it does not say what happens when the key is absent (error vs null), whether the value is scoped by sessionId, or whether the namespace has a default. 'Session namespace' hints at scoping but no concrete behavior is stated.

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?

One short, front-loaded sentence with no filler or redundancy. Brevity is appropriate, though the space saved could have been spent on the missing behavioral detail.

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?

For a three-parameter tool with no annotations, no output schema, and zero schema descriptions, the definition is too thin. An agent cannot know the lookup semantics, failure mode, or how namespace/sessionId interact before invoking it.

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 0% across three parameters, so the description must compensate and largely does not: it implies the 'key' and 'namespace' meaning but says nothing about the relationship between namespace and sessionId, defaults, or whether either is optional. The third parameter (sessionId) is entirely unaddressed.

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 description states a specific verb ('Retrieve') and resource ('a previously stored JSON value') scoped to a session namespace, which is enough to distinguish it from write/delete siblings like kv.set and kv.delete. It stops short of explicitly naming or contrasting with any sibling, so it lands at 4 rather than 5.

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 explicit guidance on when to use this versus kv.list or how to recover from a missing key. The only implied usage is the obvious read-back of a value written by kv.set, leaving the agent to infer conditions and alternatives.

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

This server cannot be deployed

Other Tools