Skip to main content
Glama

Get adapter state

get_adapter_state
Read-onlyIdempotent

Resume work from persisted documentation, version, test, and learning checkpoints.

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": {
      "adapterId": "<adapterId>"
    },
    "name": "get_adapter_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
adapterIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds real value by enumerating what is persisted (documentation, version, test, and learning checkpoints), which tells the agent what kinds of prior progress will come back; however it says nothing about scope, freshness, or what happens when no checkpoints exist.

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 sentence with no filler, and the informative part (the checkpoint categories) is packed in. It loses a point only because the vague 'Resume work from' opener leads rather than the concrete resource being fetched.

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?

With no output schema, the description must convey the return shape, and it does so at a category level by listing the four checkpoint types that come back. It stops short of saying whether these are returned together in one payload, how they are keyed, or how the caller should interpret them, which is a meaningful gap for a state-recovery tool.

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?

There is one required parameter, adapterId, with 0% schema description coverage, so the description carries the full burden of explaining it and does not mention it at all. It neither states that the UUID identifies which adapter's checkpoints are returned nor what happens for an unknown or zero UUID, leaving the only input undocumented.

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?

The sentence names the resource content (persisted documentation, version, test, and learning checkpoints) but uses 'Resume work from' as its verb, so the actual operation — reading/retrieving stored adapter state — is only implied. An agent can guess it reads state rather than mutating it, but the name 'get_adapter_state' arguably states the purpose more clearly than the description does, and nothing separates it from siblings like get_adapter or read_docs.

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?

'Resume work' hints at a continuation scenario but gives no explicit when-to-use or when-not-to-use guidance. It never contrasts with get_adapter or read_docs, both of which sit adjacent in the catalog, so the agent has to infer whether this is the right entry point for recovering prior progress.

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.