Skip to main content
Glama
claude-json-reporter-mcp-server

claude-json-reporter-mcp-server

by elchika-inc

get_session_detail

Retrieves detailed conversation history for a specified Claude Code session, including user and assistant messages and tool usage summaries.

Instructions

指定したセッションの詳細な会話履歴を取得します。ユーザーとアシスタントのメッセージ、ツール使用回数などのサマリーが含まれます。

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

Input Schema

NameRequiredDescriptionDefault
session_idYesセッションID (UUID)
project_pathYesプロジェクトのパス

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/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 correctly discloses that the response bundles messages with aggregated tool-use counts, which is genuinely useful, but it says nothing about read-only semantics, result size/pagination, truncation of long histories, or what happens when the session_id or project_path is invalid.

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?

Two compact sentences with the core action front-loaded and return contents second; nothing is redundant. A slightly tighter phrasing could merge the second sentence into the first, but the structure is clean.

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

Completeness4/5

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

For a two-parameter read tool with fully documented schema and no output schema, the description covers both the action and the shape of the returned summary, which is exactly what an agent needs to decide to call it. The remaining gaps (pagination, failure modes) are minor for this complexity level.

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 description coverage is 100%, with both session_id (UUID) and project_path documented inline, so the schema already does the heavy lifting. The description adds no extra meaning about parameter interaction, formats, or expected paths beyond what is structured, making the baseline 3 appropriate.

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 gives a specific verb (取得) and resource (指定したセッションの詳細な会話履歴), and it enumerates what the result contains (user/assistant messages, tool-usage counts). It implicitly contrasts with the list-style siblings by emphasizing 'session-specific' and 'detailed', though it never names get_history, so the boundary with that sibling stays ambiguous.

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?

Usage is only implied: '指定したセッション' and '詳細' suggest calling this after obtaining a session_id, presumably from list_sessions. There is no explicit when-to-use/when-not guidance and no statement about how to choose between this and get_history, leaving the agent to infer the distinction.

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