Skip to main content
Glama

list_domains

List domains (reusable data types) defined in a model to inspect available schema definitions and support database modeling decisions.

Instructions

List domains (reusable data type definitions) of a model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. The verb 'List' reasonably implies a read-only query operation, and the description clarifies what domains are, but it does not mention return format, pagination, error conditions, or whether only user-defined or all domains are returned. This is minimally adequate but leaves gaps.

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?

A single sentence that is front-loaded with the action and resource, with no filler or repetition. The parenthetical definition earns its place by clarifying the potentially ambiguous term 'domains'.

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?

For a simple one-parameter list tool, the description conveys the core operation and scope, but lacks guidance on prerequisites, return shape, and alternatives. Since there is no output schema and no annotations, a bit more context would be needed for the tool to be fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for documenting model_id, but it only says 'of a model', which loosely ties the parameter to the model being queried. It does not explain the expected format of model_id, how to obtain it, or any constraints beyond the schema's bare type string.

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 identifies the action ('List') and resource ('domains'), and adds a parenthetical definition ('reusable data type definitions') that removes ambiguity about what domains are. It also scopes the operation 'of a model' and is distinct from siblings like list_tables or get_domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool vs alternatives such as get_domain, or whether the model must be open/loaded first. The usage context is only implied by the verb 'List' and the resource name, with no explicit when-to-use or when-not-to-use guidance.

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