Skip to main content
Glama

export_concept

Export a FOLIO concept as Markdown, JSON-LD, or OWL/XML so you can use it in documents or other systems. Specify the concept IRI and desired format.

Instructions

Export one FOLIO concept as Markdown, JSON-LD or OWL/XML (for documents or other systems). For reading a concept yourself, get_concept is more compact.

Args: iri: The concept IRI or short ID. format: "markdown" (default), "jsonld", or "owl_xml".

Returns: The concept in the requested format, or {error, hint}.

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": {
      "iri": "<iri>"
    },
    "name": "export_concept"
  }
}

Input Schema

NameRequiredDescriptionDefault
iriYes
formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden; it discloses the default format, the accepted format tokens, and that failures return {error, hint}. Export implies a non-mutating read, but the description never states read-only behavior explicitly or mentions size/rate limits for large concepts.

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?

Front-loaded with the action and formats, then a short Args/Returns block with no filler. The "Returns" line is partly redundant with the output schema, but it is one line and not wasteful.

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?

An output schema exists, so return-value detail is not required, and the description still gives a useful error shape. For a two-parameter export tool this is close to complete; only explicit read-only/limits disclosure is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema is bare (untyped string with only a default), so the description adds real value by enumerating valid format values (markdown default, jsonld, owl_xml) and clarifying iri accepts a short ID as well as a full IRI. It stops short of explaining IRI resolution or format-specific caveats.

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?

States a concrete verb and resource ("Export one FOLIO concept") plus the exact output formats (Markdown, JSON-LD, OWL/XML). The parenthetical scope ("for documents or other systems") tells an agent what the tool is for, distinct from the reading-oriented sibling.

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

Usage Guidelines5/5

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

Explicitly names the alternative and the condition that selects it: use get_concept when reading a concept yourself, because it is more compact. This is exactly the when/when-not routing an agent needs given the many sibling read tools.

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