Skip to main content
Glama

OpenDataModels MCP server

get_related_models

Find Smart Data Models that are semantically related to a given model. Useful for discovering adjacent models when building multi-entity systems — e.g., related models for 'OffStreetParking' might surface 'ParkingSpot' and 'ParkingGroup'. Example: get_related_models({"model_name": "OffStreetParking", "relationship_type": "all"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_nameYesThe data model name to find related models for — e.g., 'OffStreetParking'
relationship_typeNoFilter by relationship type: 'all' returns everything, 'parent'/'child' for hierarchical relations, 'references' for cross-model references.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the core behavior (finding semantically related models) and provides an example, but it does not disclose details like what the response format will be, whether results are ordered, or how relationship types are determined beyond the schema. It is minimally adequate but lacks richer context.

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 two sentences plus a compact example. It is front-loaded with the main purpose, and every word contributes to understanding. No filler or redundancy.

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 the tool has only two parameters and no output schema, the description is reasonably complete but still leaves the return value to inference. The example hints that model names are returned, but without an explicit statement of the output shape, the description is not fully complete for an agent that has never invoked the tool.

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?

The schema already provides 100% coverage with detailed descriptions for both parameters. The description adds a concrete example but no additional semantic meaning beyond what the schema already conveys, so the baseline of 3 is appropriate.

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 opens with a specific verb ('Find') and a clear resource ('Smart Data Models that are semantically related to a given model'). It distinguishes itself from sibling search tools by focusing on semantic relationships rather than generic search or attribute lookup, and the concrete example reinforces this unique purpose.

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?

It explicitly states the use case: 'useful for discovering adjacent models when building multi-entity systems.' This gives clear context for when to invoke the tool, though it does not explicitly mention alternative tools or say when not to use them, which prevents a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources