Skip to main content
Glama

robot_verify

Check an ontology for rule violations by running SPARQL SELECT queries; exit with non-zero code when violations are found.

Instructions

Check an ontology for rule violations using SPARQL SELECT queries.

Each query file should contain a SPARQL SELECT. If the query returns any results, those are violations. ROBOT exits with a non-zero code when violations are found (controllable via fail_on_violation).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNo
queriesNo
output_dirNo
fail_on_violationNo
working_directoryNo
catalogNo
prefixesNo
add_prefixNo
noprefixesNo
verboseNo
strictNo
xml_entitiesNo
extra_argsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that ROBOT exits with a non-zero code when violations are found (controllable via fail_on_violation), adding value beyond the schema. However, it does not describe other behavioral aspects like output format, file creation (output_dir), or side effects (e.g., whether it modifies the ontology).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two sentences and no redundant information. However, it could be restructured to front-load the most critical details (e.g., fact that it checks an ontology, non-zero exit). The current structure is acceptable but not optimized for quick scanning.

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 the complexity (13 parameters, no schema descriptions, no annotations, and an output schema not described), the description is incomplete. It fails to explain the return value, the role of most parameters, or prerequisites (e.g., an ontology must be provided via input or working_directory).

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. It only explains two parameters (queries and fail_on_violation) out of 13. Critical parameters like input, output_dir, working_directory, prefixes, verbose, strict, etc., are left undocumented, leaving the Agent with insufficient semantic guidance.

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 tool checks an ontology for rule violations using SPARQL SELECT queries, which is a specific verb+resource. It distinguishes itself from siblings like robot_query (which runs arbitrary queries) and robot_validate_profile (which uses OWL reasoning) by focusing on SPARQL SELECT-based violation detection and non-zero exit on findings.

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

Usage Guidelines3/5

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

The description explains that query files should contain SPARQL SELECT and that results indicate violations, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., robot_query or robot_validate_profile). Usage context is implied but not formally contrasted with siblings.

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/musen-lab/robot-tool-mcp'

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