folio-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FOLIO_MCP_LOCAL | No | Set to '1' or 'true' to enable local mode instead of API mode. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_conceptsA | Search FOLIO concepts by label (name). Finds legal concepts whose names match the query using fuzzy matching. Use this as the primary entry point for finding concepts. Args: query: Search term (e.g., "bankruptcy", "software license", "trust"). limit: Maximum number of results to return (default 10). Returns: JSON array of matching concepts with iri, label, definition, and score. |
| search_definitionsA | Search FOLIO concepts by definition text. Finds legal concepts whose definitions match the query. Use this when searching by name doesn't find what you need. Args: query: Search term to match against definitions. limit: Maximum number of results to return (default 10). Returns: JSON array of matching concepts with iri, label, definition, and score. |
| get_conceptA | Get full details for a specific FOLIO concept by IRI. Accepts short IDs (e.g., "RSYBzf149Mi5KE0YtmpUmr"), full IRIs (e.g., "https://folio.openlegalstandard.org/RSYBzf149Mi5KE0YtmpUmr"), or partial matches. Args: iri: The concept IRI or identifier. Returns: Full JSON representation of the concept, or an error message. |
| export_conceptA | Export a FOLIO concept in a specific format. Args: iri: The concept IRI or identifier. format: Output format — "markdown", "jsonld", or "owl_xml". Returns: The concept in the requested format, or an error message. |
| list_branchesA | List all FOLIO taxonomy branches with concept counts. Returns the 24 top-level categories of the FOLIO ontology (e.g., areas_of_law, document_artifacts, legal_entities). Returns: JSON object mapping branch names to concept counts. |
| get_taxonomy_branchA | Get concepts in a FOLIO taxonomy branch. Returns compact summaries. Args: branch_name: Branch name (e.g., "areas_of_law", "document_artifacts"). Use list_branches() to see all available branch names. max_depth: Depth limit. Use 1 (default) for top-level only. WARNING: depth >2 can return very large results. Navigate incrementally with get_children() instead. Returns: JSON array of {iri, label, definition} summaries. Use get_concept(iri) for full details on a specific concept. |
| get_childrenA | Get child concepts of a FOLIO concept. Returns compact summaries. Args: iri: A concept IRI (e.g., "https://folio.openlegalstandard.org/R07tQM...") or short ID (e.g., "R07tQM..."). NOT a branch name — use get_taxonomy_branch for branch names like "areas_of_law". max_depth: Depth limit (default 1 for direct children). Keep at 1-2 to avoid large results. Returns: JSON array of {iri, label, definition} summaries. Use get_concept(iri) for full details on a specific child. |
| get_parentsA | Get parent concepts of a FOLIO concept. Returns compact summaries. Args: iri: A concept IRI (e.g., "https://folio.openlegalstandard.org/R07tQM...") or short ID. NOT a branch name. max_depth: Depth limit (default 1 for direct parents). Returns: JSON array of {iri, label, definition} summaries. Use get_concept(iri) for full details on a specific parent. |
| get_propertiesA | Get all OWL object properties defined in the FOLIO ontology. Returns properties that describe relationships between concepts (e.g., "hasJurisdiction", "appliesTo", "governedBy"). Returns: JSON array of properties with iri, label, definition, domain, and range. |
| find_connectionsA | 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: {...}}]. |
| query_conceptsA | Query FOLIO concepts with composable text and structural filters. More powerful than search_concepts — supports field-specific matching, structural constraints, and multiple match modes. All specified filters must match (AND logic). Text filters: label: Match against the concept's primary label (rdfs:label). definition: Match against the concept's definition (skos:definition). alt_label: Match against alternative labels (skos:altLabel). example: Match against examples (skos:example). any_text: Match against ALL text fields (label, definition, alt_labels, examples, notes, comment). Structural filters: branch: Limit to a taxonomy branch (e.g., "AREA_OF_LAW", "CURRENCY", "LEGAL_ENTITY"). parent_iri: Only descendants of this IRI (transitive subClassOf). has_children: True = non-leaf concepts only, False = leaf concepts only. deprecated: Include deprecated concepts (default False). country: Match against the country field. Control: match_mode: "substring" (default), "exact", "regex", or "fuzzy". limit: Maximum results (default 20). Returns: JSON array of matching concepts. |
| query_propertiesA | Query FOLIO object properties with composable text and structural filters. Replaces get_properties() when you need filtered results instead of the full list. Text filters: label: Match against property label (e.g., "jurisdiction", "applies"). definition: Match against property definition. Structural filters: domain_iri: Only properties whose domain includes this class IRI. range_iri: Only properties whose range includes this class IRI. has_inverse: True = only properties with inverses, False = only without. Control: match_mode: "substring" (default), "exact", "regex", or "fuzzy". limit: Maximum results (default 20). Returns: JSON array of matching properties with iri, label, definition, domain, range. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| classify-document | Classify a legal document using the FOLIO ontology. Provide a document name or description and get the best FOLIO classification. |
| identify-area-of-law | Identify the area(s) of law that apply to a legal situation or matter. |
| classify-entity | Classify a legal entity (person, organization, role) using FOLIO. |
| classify-industry | Classify the industry for a legal matter, client, or company using the FOLIO ontology's industries taxonomy (21 sectors). |
| identify-legal-authority | Identify the type of legal authority (statute, regulation, case law, treaty, executive order, etc.) using the FOLIO ontology's legal_authorities taxonomy. |
| classify-event | Classify a legal event (dispute, transaction, regulatory action, bankruptcy filing, employment action, etc.) using the FOLIO ontology's events taxonomy. |
| identify-service-type | Identify the type of legal service needed for a matter — advisory, transactional, dispute, regulatory, or bankruptcy/restructuring. |
| identify-forum-venue | Identify the appropriate forum, venue, or governmental body for a legal dispute or regulatory matter using the FOLIO ontology. |
| identify-objective | Identify the legal objectives for a matter — litigation claims/defenses, transactional goals, regulatory filings, risk management, etc. |
| classify-asset | Classify an asset as tangible, intangible, financial, or estate using the FOLIO ontology's asset_types taxonomy. |
| identify-engagement-terms | Identify the engagement terms for a legal services arrangement — fee model, invoice terms, engagement type, and billing details. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| branches_resource | FOLIO taxonomy branch names with concept counts. |
| stats_resource | FOLIO ontology statistics. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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