Skip to main content
Glama

クラスのプロパティを確認する

describe_class
Read-only

指定したクラスのプロパティと、その件数、値の例を返す。クエリでどのプロパティを使えばよいか分からないときに実行する。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset": "<dataset>",
      "class": "<class>"
    },
    "name": "describe_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
classYesクラス。接頭辞つき(例textbook:TeachingUnit)か<URI>
datasetYesデータのid。list_datasetsで一覧を取得できる

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds value beyond that by disclosing the return content (properties, counts, example values), which matters because there is no output schema. It does not mention result-size limits or truncation behavior for large classes.

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 short sentences with no waste: the first states what is returned, the second states the triggering situation. It is front-loaded and easy to scan.

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?

For a simple two-parameter read-only inspection tool with fully documented parameters and existing annotations, the description is nearly complete, and it usefully explains the return shape in lieu of an output schema. Minor gaps remain around limits on the number of properties/examples returned.

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%, with both dataset and class already documented, including the prefix/URI format for class and the pointer to list_datasets for dataset ids. The description only says "specified class" and adds no semantics beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: returns the properties of a given class along with their counts and example values. The class-level scope is clear enough to separate it from the dataset-level sibling describe_dataset, though it never names that sibling explicitly.

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?

"Execute when you don't know which properties to use in a query" gives a concrete trigger condition, which is exactly when a schema-discovery tool is needed. It stops short of naming alternatives (describe_dataset, search) or stating when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.