Skip to main content
Glama
thinking-protocol-mcp

thinking-protocol-mcp

by RimGit-N

thinking_validate_session

Validates a session to confirm every required stage is complete and all required keys are filled, helping catch incomplete problem-solving workflows before proceeding.

Instructions

Validate if all stages have been completed correctly with all required keys filled

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": {
      "session_id": "<session_id>"
    },
    "name": "thinking_validate_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession ID to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

C2.9/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 burden. It does not say whether validation is read-only, whether a failed validation mutates or marks the session, what a partial-but-valid state returns, or any prerequisites. For a validation gate with zero annotation coverage, that is a substantive gap.

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 front-loaded sentence with no filler. The phrasing 'Validate if' is slightly awkward but does not obscure meaning, and nothing could be cut without losing content.

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?

There is no output schema and no annotations, so the description is the only place an agent could learn what a validation result looks like (boolean, list of missing keys, error on failure) — and it is silent. For a validation tool the return contract is the most important missing piece.

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 100% and the single session_id parameter is fully documented in the schema, so the description is not required to add syntax detail. It adds no meaning beyond the schema, which is the baseline-3 case for a one-parameter tool.

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?

States a specific verb (validate) and scope (all stages completed, all required keys filled) on a named resource (session). This is meaningfully distinct from sibling operations like execute_stage or get_status, though it never explicitly contrasts with thinking_get_status, which sounds close in intent.

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?

No explicit when-to-use guidance and no named alternative. The agent must infer that validation happens after stages are executed, and cannot tell from the text why it would pick this over thinking_get_status.

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