Skip to main content
Glama

find_connections

Query FOLIO ontology for semantic connections (subject-property-object triples) between legal concepts.

Instructions

Find semantic connections (triples) between FOLIO concepts.

Searches for subject-property-object triples. At minimum, provide a subject_iri. Optionally filter by property and/or object.

Args: subject_iri: IRI of the subject concept. property_name: Optional property name or IRI to filter by. object_iri: Optional object concept IRI to filter by.

Returns: JSON array of triples [{subject: {...}, property: {...}, object: {...}}].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_iriNo
subject_iriYes
property_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must disclose behavior itself. It accurately describes the return format (JSON array of triples with subject/property/object objects) and filtering behavior. However, it omits potential caveats such as pagination, result limits, or error handling, making it minimal but not misleading.

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 tight and well-structured: a one-sentence summary, a paragraph on search behavior, an Args list, and a Returns line. Every sentence adds value, and the most important information is front-loaded.

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 and the existence of an output schema, the description covers essential aspects: what the tool does, required and optional parameters, and the return shape. It omits edge-case behavior (e.g., no results, invalid IRI), but this is a minor gap for a read-only query tool.

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?

Since the schema has 0% parameter description coverage, the description compensates by explaining each parameter: subject_iri as the IRI of the subject concept, property_name as an optional filter, and object_iri as an optional object IRI. This adds meaningful semantics beyond the bare schema types and names.

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 finds/ searches for semantic connections (triples) between FOLIO concepts. It uses specific verbs ('Find', 'Searches') and describes the resource as subject-property-object triples, which distinguishes it from sibling tools like get_children or get_parents.

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 clearly indicates that a subject_iri is required and that property_name and object_iri are optional filters. This gives clear context on how to invoke the tool. However, it does not explicitly mention when to prefer this over alternative tools or provide exclusions, so it falls short of a 5.

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/alea-institute/folio-mcp'

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