Skip to main content
Glama
sandervd
by sandervd

validate_schema

Validate a LinkML YAML schema at a specific workspace commit to catch errors before proceeding, without creating a commit.

Instructions

Validate a LinkML YAML schema at a specific workspace commit. This performs schema validation only and does not create a commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoRelative schema path. Defaults to schema.yaml.schema.yaml
commit_idYesGit commit id to validate.
workspace_idYesWorkspace id returned by init_workspace.
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It does disclose the important side-effect boundary ('does not create a commit'), which helps an agent understand this is non-mutating. However, it does not describe what the validation response contains, such as whether it returns errors, a pass/fail status, or a report, which is especially relevant since no output schema exists.

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 short sentences with no filler. The core purpose and target resource are front-loaded, and the second sentence adds an important behavioral clarification. Every word contributes meaning.

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 tool with three simple parameters and no output schema, the description is reasonably complete, but it leaves the return behavior implicit. It also does not mention when in a workflow validation is expected, such as before running a generator or applying a changeset. Given the absence of annotations and an output schema, a bit more detail about expected results would make it 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 100%, so the parameters are already well documented by the schema. The description adds minimal semantics beyond restating that validation happens at a specific commit, which maps to commit_id and workspace_id. It does not add new meaning for the path parameter, but the schema already covers that, so a baseline score 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 uses a specific verb ('Validate') and a precise resource ('LinkML YAML schema at a specific workspace commit'). It also clarifies that this is validation-only, which distinguishes it from sibling tools like apply_changeset that would mutate state or create commits. This is immediately clear to an agent selecting among the listed siblings.

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: the tool validates a schema at a given commit and explicitly states it does not create a commit. This communicates a key exclusion relative to commit-creating operations. However, it does not explicitly state when to prefer this over siblings like read_schema or apply_changeset, nor does it name alternatives, so it stops short of a 5.

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/sandervd/linkml-mcp'

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