Skip to main content
Glama
liftkkkk

OWL MCP Server

add_class

Add a new class to an ontology, specifying parent class, label, and comment. Use with save_ontology to persist changes.

Instructions

向本体添加一个新类,可指定父类、标签和注释。修改不会自动保存,需调用 save_ontology。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo可选:rdfs:label 标签
commentNo可选:rdfs:comment 注释
class_nameYes新类的 local name
parent_classNo父类的 local name,默认为 owl:ThingThing
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It states that changes are not automatically saved, which is a key behavioral trait. However, it does not mention error handling, permissions, or side effects like duplicate class names.

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 extremely concise with two sentences: one for the function and one for the persistence caveat. Every word is necessary, and there is no redundancy.

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

Completeness4/5

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

Given the tool's simplicity (4 parameters, no output schema), the description covers the essential functional information and the critical persistence behavior. It could mention uniqueness constraints or error scenarios, but not strictly needed.

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?

The input schema has 100% description coverage, so the baseline is 3. The description only restates what the schema already says (parent, label, comment), adding no additional meaning or constraints.

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 (add a new class) and resource (ontology class), and the mention of specifying parent, label, and comment distinguishes it from sibling tools like add_individual. The Chinese text is direct and unambiguous.

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 provides an explicit guideline about the need to call save_ontology after adding, which is crucial for usage. However, it does not compare with siblings or specify when to use this tool versus 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/liftkkkk/owl-mcp'

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