Skip to main content
Glama
defineEditor

Define-XML MCP Server

by defineEditor

List Define-XML Codelists

define_list_codelists
Read-onlyIdempotent

Retrieve codelists from a loaded Define-XML document with pagination. Specify document ID, number of records, and offset to navigate through results.

Instructions

List codelists from a loaded Define-XML document with pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum records to return (1-200).
offsetNoNumber of records to skip.
document_idYesID returned by define_load_document.
response_formatNoResponse format: 'json' or 'markdown'.markdown
Behavior3/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds that it operates on a 'loaded Define-XML document' and supports pagination, which are useful but not extensive behavioral details.

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 a single, front-loaded sentence with no wasted words. It efficiently communicates the core purpose in a concise manner.

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 list tool with no output schema, the description lacks details about the return format (e.g., list of codelist IDs or full objects). It covers input requirements but does not describe what the agent will receive, leaving some uncertainty.

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?

All parameters are documented in the input schema (100% coverage), so the description does not add significant meaning beyond what is already structured. The mention of 'pagination' is already captured by the limit and offset parameters.

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 action ('List') and the resource ('codelists from a loaded Define-XML document') and mentions pagination, which distinguishes it from sibling tools like define_get_codelist that retrieve a single codelist.

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?

The description does not provide any guidance on when to use this tool versus alternatives, such as explaining that it is for listing multiple codelists while define_get_codelist is for a single one. No context about prerequisites (e.g., document must be loaded) is included.

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/defineEditor/define-mcp'

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