Skip to main content
Glama
joyous-coder

universal-db-mcp

by joyous-coder

compare_profile_schemas

Compare schema differences between two database profiles, with an option to limit tables per profile to prevent oversized output.

Instructions

比较两个 profile 的 schema 差异。⚠️ 大库输出可能 >1MB;用 maxTablesPerProfile 限制避免截断。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameAYes
nameBYes
maxTablesPerProfileNov4.0 G8:每 profile 最多列多少表(默认100,大库调到 20-50 避免输出过大)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv5.0.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses a useful and non-obvious trait: large profiles can produce output larger than 1MB and may be truncated unless limited by maxTablesPerProfile. It does not mention auth or read-only status, but the compare semantics make destructive side effects unlikely.

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 compact and front-loaded: purpose first, then an actionable warning about output size. Every clause earns its place with no filler or repetition.

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?

There is no output schema and no description of the comparison result format. The agent knows what the tool does, but not what the returned diff looks like or how truncation manifests. For a 3-parameter tool with no annotations, this is adequate but not fully complete.

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 description coverage is only 33%, so the description must compensate for the two undocumented parameters. It clarifies that two profiles are compared, which maps to nameA and nameB, and reinforces the purpose of maxTablesPerProfile. However, it adds little beyond the schema's own description of maxTablesPerProfile and does not specify what form profile names should take.

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?

Description states a specific action: '比较两个 profile 的 schema 差异' (compare schema differences between two profiles). This clearly distinguishes it from siblings like compare_query_plans and get_schema by naming the exact resource being compared.

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 gives clear context: use this tool to compare schema differences across two profiles. It also provides practical guidance for large databases by warning about >1MB output and recommending maxTablesPerProfile to avoid truncation. It stops short of a 5 because it does not explicitly name alternatives or exclusion conditions.

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

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/joyous-coder/universal-db-mcp'

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