Skip to main content
Glama

correlate_triple_check

Compares data extracted from webpage DOM with API responses to detect inconsistencies, missing fields, and format differences. Supports list and detail view modes.

Instructions

开源版 UI-API 三方比对:从页面 DOM 提取数据,调用对应 API 获取数据,对比两者是否一致。支持列表页和详情页两种模式。检测数据不一致、字段遗漏、格式差异等问题。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes比对模式:list=列表页模式(DOM表格 vs API列表);detail=详情页模式(DOM表单 vs API详情)list
maxRowsNo最大比对行数
apiMethodNoAPI 请求方法GET
apiPayloadNoPOST 请求时的请求体
strictModeNo严格模式:API 返回的字段必须在 DOM 中存在,否则视为差异
apiEndpointNoAPI 端点 URL(如 /api/leads),默认从当前页面 URL 推导
rowSelectorNo列表页模式:行选择器tr, [role="row"]
fieldMappingsNo字段映射配置:指定 DOM 元素与 API 字段的对应关系
tableSelectorNo列表页模式:表格选择器table, .table, [role="grid"]
identifierFieldNo唯一标识字段名,用于匹配 DOM 行与 API 记录id
Behavior3/5

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

The description explains it extracts DOM data, calls an API, and compares them, detecting several issue types. However, it does not disclose whether the tool is read-only, what permissions it requires, or any side effects on browser state. Since no annotations are provided, the description carries the full burden and is moderately transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise—two sentences clearly stating the purpose, modes, and detection capabilities. It is front-loaded with the key action and adds no unnecessary words.

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

Completeness3/5

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

Given no output schema, the description should explain return values. It mentions detection capabilities but does not describe the output format (e.g., does it return a diff report?). For a tool with 10 parameters and no output schema, more detail on results would improve completeness.

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%, with each parameter having a description. The tool description is a high-level summary that does not add new meaning beyond the schema, but it does not need to because the schema already provides adequate detail. Baseline score of 3 is 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 clearly states that the tool compares DOM data with API data to detect inconsistencies, omissions, and format differences. It mentions two modes (list and detail). However, it does not explicitly differentiate from sibling tools like 'browser_data_compare' or 'trace_correlation_check', which may have overlapping functionality.

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 description implies this tool is used when you need to verify UI-API consistency, but it provides no explicit guidance on when to use it versus alternatives, no prerequisites, and no conditions that would make it inappropriate. The mention of 'list' and 'detail' modes gives some context but lacks exclusions.

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/validpilot/ai-verify-mcp'

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