Skip to main content
Glama
Apitomy

Apitomy Data Models MCP

Official
by Apitomy

document_add_server_variable

Add a variable to a server definition in OpenAPI 3.x documents. Specify name, default value, and optional description and enum values.

Instructions

Add a variable to a server definition (OpenAPI 3.x only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enumNoJSON array of allowed values
nameYesVariable name (e.g. environment)
defaultYesDefault value
sessionYesSession name
nodePathYesNode path to the server
descriptionNoVariable description
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states 'add a variable' without explaining side effects (e.g., whether existing variables are overwritten, whether the server must exist, or authorization needs). This is insufficient for a mutation tool.

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 sentence with no redundant information. It is front-loaded with the action and resource. Every word is necessary, earning a high score for conciseness.

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

Completeness2/5

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

Given 6 parameters (4 required), no output schema, and no annotations, the description lacks critical context about return values, error states, or behavioral nuances. It is too sparse to fully orient the agent.

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%, so the schema already documents parameters. The description adds no extra meaning beyond the schema (e.g., not explaining 'enum' as a JSON array or 'nodePath' as path to server). Baseline 3 applies as no additional semantic value.

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 verb 'Add' and the resource 'variable to a server definition', and specifies it's for OpenAPI 3.x only. This makes the purpose distinct from siblings like document_add_server or document_remove_server_variable.

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 specifies the constraint 'OpenAPI 3.x only', guiding when to use the tool. However, it does not explicitly differentiate from related tools (e.g., when to use this vs. modifying a server directly) or provide conditions for non-use.

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/Apitomy/apitomy-data-models-mcp'

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