Skip to main content
Glama
sandervd
by sandervd

read_schema

Read a LinkML YAML schema from a specified workspace and Git commit. Optionally provide a path to access schema.yaml or imported YAML files.

Instructions

Read a LinkML YAML schema file from a specific workspace commit. Use path to read schema.yaml or another local imported YAML file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoRelative schema path. Defaults to schema.yaml.schema.yaml
commit_idYesGit commit id to read from.
workspace_idYesWorkspace id returned by init_workspace.
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. The verb 'Read' clearly indicates a non-mutating operation, and 'from a specific workspace commit' adds important scoping context. It does not describe error behavior, but for a simple read tool this is adequate.

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?

Two concise sentences with no filler. The primary action and target are front-loaded in the first sentence, and the second sentence adds a useful clarifying detail about path usage.

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?

The tool is simple and parameters are well-documented, but because there is no output schema, the description should ideally clarify what the tool returns (e.g., raw YAML content, parsed schema object). The description implies reading but leaves the return contract implicit.

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 three parameters already have schema descriptions, so the baseline is 3. The description adds mild value by explaining that 'path' can point to schema.yaml or another local imported YAML file, but it does not substantially enhance meaning beyond the schema.

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 states a specific verb ('Read'), a clear resource ('LinkML YAML schema file'), and a precise location ('from a specific workspace commit'). It distinguishes the tool from siblings like validate_schema and get_entity by framing it as a file-content read operation rather than validation or entity access.

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: this tool is for reading schema.yaml or another local imported YAML file at a specific commit. It implicitly tells the agent when to choose this over list_files or validate_schema, though it does not explicitly name exclusions or alternatives.

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