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

claude-json-reporter-mcp-server

by elchika-inc

get_history

Retrieve Claude Code global conversation history filtered by date range or project path to support daily report generation and work analysis.

Instructions

Claude Code のグローバル履歴を取得します。日付やプロジェクトでフィルタリングできます。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo取得件数の上限 (デフォルト: 100)
projectNoプロジェクトパスでフィルタリング
end_dateNo終了日 (ISO 8601 形式、例: 2024-01-31)
start_dateNo開始日 (ISO 8601 形式、例: 2024-01-01)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 of behavioral disclosure, yet it says nothing about ordering, default result size, pagination, truncation, or authentication requirements. Because this tool is read-only, the description needs to state at least that much; it does not.

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 short sentences are front-loaded with the resource and follow immediately with the filtering capability, leaving no filler. The description is close to minimal length, though it omits almost everything else in the process.

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?

This is a four-parameter, annotation-free query tool with no output schema, so an agent depends entirely on the description. The description omits result shape, ordering, default limit behavior, and how the project filter matches paths, which is far too little for a tool of this complexity.

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%, so each of the four parameters (limit, project, start_date, end_date) is already documented with examples in the schema, establishing a baseline of 3. The description adds "日付やプロジェクトでフィルタリング" (filter by date or project), a minor restatement that does not clarify how limit interacts with the filters or what happens when only one date bound is supplied.

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 pairs a specific verb with a specific resource: "Claude Code のグローバル履歴を取得します" (retrieve Claude Code's global history), and the word "global" hints that the scope spans sessions. It does not explicitly distinguish this tool from the sibling tools get_session_detail, list_sessions, or list_projects, so an agent must still infer the boundary between them.

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?

The description mentions the two filtering axes (date and project) but never states when to choose this tool over list_sessions or get_session_detail, nor does it give prerequisites or exclusions. The usage is only implied, and the agent receives no routing guidance beyond the word "global".

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