Skip to main content
Glama

Run a gap analysis

gap_analysis

Compare baseline and target elements in a matrix, identify new/eliminated/modified/replaced gaps, and return recommended actions with work-package JSON. Eliminations stay visible for cost reduction.

Instructions

現行(baseline)と目標(target)の構成要素を突き合わせ、マトリクスで対応関係を可視化し、新規に必要なもの・廃止されるもの・改修/置換されるものをギャップとして洗い出して、それぞれの推奨アクションと解釈を返す。廃止側も必ず出すため、コスト削減の根拠が消えない。検出したギャップは add_work_package にそのまま渡せる JSON として出力し、save=true で分析の要約を案件のメモに残せる。sources 引数で要素ごとの出典を渡すと、ギャップ一覧に出典列が出る(渡さなかった要素は空欄ではなく「出所未記入」と表示する)。 / Compare baseline and target elements, render the mapping as a matrix, and derive the gaps: what must be newly created, what gets eliminated, and what is modified or replaced, each with a recommended action. Eliminations are always reported so the cost-reduction case stays visible. The gaps are also emitted as ready-to-paste add_work_package JSON, and save=true appends a summary of the analysis to the engagement notes. Pass per-element provenance in sources to get a source column on the gap table; elements without one are marked "no source" rather than left blank.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo出力言語 / Output languageboth
saveNo分析の要約を案件のメモに 1 行記録する(既定 false)。作業パッケージは登録しない / Append a one-line summary of this analysis to the engagement notes (default false). Work packages are not created
domainNo対象ドメイン(business / data / application / technology など) / Architecture domain — 最大 300 文字 at most 300 characters
targetYes目標の構成要素 / Target elements
sourcesNo要素ごとの出典。ギャップ一覧に出典列が出る。渡さなかった要素は「出所未記入」と表示される(空欄にはしない) / Per-element provenance. Adds a source column to the gap table; elements you omit are shown as "no source" rather than left blank
baselineYes現行の構成要素(能力・システム・データ・技術など) / Baseline elements: capabilities, systems, data, technologies
mappingsNo現行と目標の対応関係。省略した現行要素は、同名の目標があれば維持、無ければ廃止として扱う / Mapping between baseline and target. Unmapped baseline elements are retained when a same-named target exists, otherwise eliminated
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries full behavioral burden, and it is highly transparent. It discloses that eliminations are always reported to preserve the cost-reduction case, that gaps are emitted as ready-to-paste add_work_package JSON, that save=true only appends a one-line summary without creating work packages, and that missing sources are rendered as 'no source' rather than blank.

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 information-dense and well structured: method, key guarantee, downstream integration, side effects, and provenance behavior are covered in order. The bilingual duplication makes it longer than strictly necessary, but each clause adds behavioral value and nothing is filler.

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

Completeness5/5

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

This is a complex 7-parameter tool with no output schema and no annotations, yet the description explains the method, the matrix output, the gap categories, the recommended-action return, the add_work_package JSON emission, the save side effect, and the sources edge case. An agent has enough context to invoke the tool correctly and interpret its results.

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 100%, so the baseline is 3, and the description adds meaningful semantic value beyond the schema. It clarifies the behavior of sources (source column, 'no source' marker), the side effect of save (appends summary, does not create work packages), and the default mapping semantics for unmapped baseline elements (retained if same-named target exists, otherwise eliminated).

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 clearly states the tool compares baseline and target elements, visualizes the mapping as a matrix, and derives gaps (new, eliminated, modified/replaced) with recommended actions. This is a specific verb+resource and meaningfully distinguishes gap_analysis from siblings like compare_with_togaf or cross_map.

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?

The use case is clearly implied: call this when you need a baseline-to-target gap analysis with a mapping matrix and gap list. However, the description never explicitly names alternatives or states when not to use this tool versus siblings like compare_with_togaf or cross_map, so the guidance is implied rather than explicit.

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

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/Waganawa-Megumin/togaf10_EAP_MCP'

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