Skip to main content
Glama
HiroakiKatoh

legal-impact-mapper

by HiroakiKatoh

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LIM_MODELNo使用するモデル(デフォルト: claude-sonnet-4-20250514)claude-sonnet-4-20250514
ANTHROPIC_API_KEYYesAnthropic API キー

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
extract_fact_graphA

【いつ使う】法律文書テキストを初めてグラフ化するときのみ呼ぶ。同一文書に対して2回目以降は不要(内部でLLMを呼ぶため高コスト)。 【入力】text: 契約書・法律文書・事実関係の記述(最大50,000文字) 【出力】FactGraph: { nodes: FactNode[], edges: Edge[] }。各ノードはid/type/text/confidenceを持ち、競合解釈にはgroup_idが付与される。エッジはfrom/to/typeで依存関係を表す。 【注意】このgraphオブジェクトをそのまま後続の update_fact_classification と analyze_impact に渡すこと。

update_fact_classificationA

【いつ使う】弁護士がノードの内容(条文テキストや分類)を変更するとき。extract_fact_graphの出力graphを受け取って呼ぶ。 【入力】graph: 現在のFactGraph / node_id: 変更対象のノードID / new_text: 新しいテキスト / new_type: 新しい分類(任意)/ mark_verified: 変更後にuser_verified=trueでロックするか(デフォルトtrue) 【出力】{ graph: 更新済みFactGraph, changed_node_ids: 変更されたノードIDリスト, diff_summary: { modified_nodes, details } }。changed_node_idsをそのままanalyze_impactに渡すこと。 【注意】user_verified=trueのノードは変更を拒否し、changed_node_ids=[]で返る。再編集が必要な場合はgraph内の該当ノードのuser_verifiedをfalseに書き換えてから再呼び出しすること。mark_verified=true(デフォルト)の場合、変更後のノードは以後自動的にロックされる。

analyze_impactA

【いつ使う】update_fact_classificationで変更したノードの影響範囲を確定するとき。必ずupdate後のgraphとchanged_node_idsを渡すこと。 【入力】graph: 更新済みFactGraph / changed_node_ids: update_fact_classificationが返したchanged_node_idsリスト 【出力】{ changed_node_ids, affected_node_ids, directly_affected, indirectly_affected, explanations, risk_level, warning? }。affected_node_idsが空の場合は影響なし確定。 【注意】affected_node_ids: []の場合は編集作業は不要(そこで処理を打ち切ること)。risk_level=highの場合はwarningを必ず確認し、変更スコープを再検討すること。編集対象は changed_node_ids + affected_node_ids に対応する原文箇所のみ。それ以外の条文には一切触れないこと。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/HiroakiKatoh/legal-impact-mapper'

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