Skip to main content
Glama

Get value

kv_get
Read-only

Read a small value. Call keys.create once. Pass caller_key on every later tools/call.

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
caller_keyNopf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value with the auth bootstrap flow and the precedence rule that caller_key is needed only when headers are not set, but it never says whether a missing key returns null, an empty value, or an error.

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?

Three short imperative sentences with no waste, and the read action is front-loaded ahead of the auth instructions. The phrase "a small value" is under-specified rather than padded, so the terseness costs a little clarity.

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 two-parameter read with annotations covering safety and no output schema, the definition leaves notable gaps: the shape of the returned value, behavior on a missing key, and what "small" bounds. Auth guidance is complete, but the read semantics are not.

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 coverage is 50%: the caller_key parameter is already fully documented in the schema, including header precedence, so the description largely repeats it. The required key parameter has no schema description and the description only hints at it via "read a small value," adding no format or naming guidance.

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

Purpose3/5

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

"Read a small value" gives a verb and an implicit resource (a keyed value in the kv store), but the wording is vague and only inferable from the tool name. It does not explicitly distinguish a read from sibling mutations like kv.set or kv.delete.

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 states a concrete prerequisite sequence: call keys.create once, then pass caller_key on every later tools/call. That is useful setup guidance, but there is no when-to-use/when-not-to-use framing against read alternatives, and no mention of what to do when a key is absent.

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