Skip to main content
Glama
y0mulab

japan-ir-search

by y0mulab

compare_sections

Compare a specific section between two Japanese IR filings to see text changes, length difference, and keyword additions/removals.

Instructions

2つの書類の同一セクションを比較します(例: 前期 vs 当期のリスク記述)。

Args:
    doc_id_1: 比較元の書類ID
    doc_id_2: 比較先の書類ID
    section: セクションキー(デフォルト: risk_factors)

Returns:
    両方のテキスト、文字数差分、新出キーワード、消失キーワード

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionNorisk_factors
doc_id_1Yes
doc_id_2Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description must carry the behavioral transparency burden. It does so effectively by stating that both texts, character count differences, new keywords, and disappeared keywords are returned, and by noting the default section key. It doesn't discuss side effects or auth, but for a comparison/read tool this is sufficient.

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?

The description is compact and well-structured with separate Args/Returns sections. The example adds context without redundancy. It earns its place, though a slightly more explicit usage scenario could make it even more actionable.

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?

Given the tool's moderate complexity (3 params, output schema existing), the description covers purpose, parameters, and return values, making it mostly self-contained. It lacks explicit exclusion criteria or prerequisite conditions, but the provided information is sufficient for an agent to invoke it correctly in the described use case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates by documenting all three parameters in the Args section: doc_id_1 as source, doc_id_2 as target, and section with a default of risk_factors. This adds meaningful semantic value beyond the bare schema property names.

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

Purpose5/5

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

The description specifies a clear verb+resource: '2つの書類の同一セクションを比較します' (compare the same section of two documents) with a concrete example (prior vs current risk description). This clearly distinguishes it from sibling tools like get_filing_section, which retrieves a single section.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an example of when to use: comparing the same section across two documents (e.g., prior period vs current period). However, it does not explicitly state when not to use it or mention alternatives, though the purpose itself differentiates it from related tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/y0mulab/japan-ir-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server