tclp-mcp

MCP server for The Chancery Lane Project's climate-aligned contract clause knowledge graph.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
74%
이름 품질
90%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~5,344토큰 (도구 정의)
~6.5 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 4.17%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "tclp-mcp": {
      "url": "https://mcp.chancerylaneproject.org/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.chancerylaneproject.org/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (6)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢search(query, node_type, limit, rerank, include_full_text)

Search the TCLP knowledge graph using fusion search (semantic + BM25). Args: query: Free-text search query (max 1000 characters). node_type: Content scope — "tclp" (clauses, glossary terms, guides) or "all". Laws, regulations, standards and frameworks are not searchable here: use `find_legal_resources`. limit: Maximum number of results to return (1–50). rerank: Whether to apply RRF reranking when combining graph and text results. include_full_text: Include each hit's full body text (Markdown). Off by default — bodies are large; request only when you need the content, and prefer a small `limit` when you do. Returns: JSON with "meta" (totals, timing) and "results" (ranked hits with title, url, content_type, scores, optionally relationships_text, related and full_text). Each hit's "references" lists the instruments it cites: pass a reference's `work_id` to `get_legal_resource` for details. A reference's `edge` (governs, references, describes) says how the content relates to the instrument; it is not a statement of the instrument's legal effect. If meta.degraded contains "lrsf", references could not be loaded: do not conclude that a hit cites no instruments.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "node_type": {
      "default": "all",
      "enum": [
        "tclp",
        "all"
      ],
      "title": "Node Type",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "title": "Limit",
      "type": "integer"
    },
    "rerank": {
      "default": true,
      "title": "Rerank",
      "type": "boolean"
    },
    "include_full_text": {
      "default": false,
      "title": "Include Full Text",
      "type": "boolean"
    }
  },
  "required": [
    "query"
  ],
  "title": "searchArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_SearchMeta"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/_SearchHit"
      },
      "title": "Results",
      "type": "array"
    }
  },
  "required": [
    "meta",
    "results"
  ],
  "$defs": {
    "_Reference": {
      "properties": {
        "edge": {
          "title": "Edge",
          "type": "string"
        },
        "work_id": {
          "title": "Work Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "nature": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nature"
        },
        "jurisdiction": {
          "items": {
            "type": "string"
          },
          "title": "Jurisdiction",
          "type": "array"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "staleness": {
          "title": "Staleness",
          "type": "string"
        }
      },
      "required": [
        "edge",
        "work_id",
        "name",
        "nature",
        "jurisdiction",
        "status",
        "staleness"
      ],
      "title": "_Reference",
      "type": "object"
    },
    "_Related": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        }
      },
      "required": [
        "id",
        "name",
        "url"
      ],
      "title": "_Related",
      "type": "object"
    },
    "_SearchHit": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "content_type": {
          "title": "Content Type",
          "type": "string"
        },
        "ranks": {
          "$ref": "#/$defs/_SearchRanks"
        },
        "scores": {
          "$ref": "#/$defs/_SearchScores"
        },
        "full_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Text"
        },
        "relationships_text": {
          "title": "Relationships Text",
          "type": "string"
        },
        "related": {
          "items": {
            "$ref": "#/$defs/_Related"
          },
          "title": "Related",
          "type": "array"
        },
        "entity_matches": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Matches"
        },
        "references": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/_Reference"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "References"
        }
      },
      "title": "_SearchHit",
      "type": "object"
    },
    "_SearchMeta": {
      "properties": {
        "total_available": {
          "title": "Total Available",
          "type": "integer"
        },
        "graph_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph Total"
        },
        "text_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text Total"
        },
        "degraded": {
          "items": {
            "type": "string"
          },
          "title": "Degraded",
          "type": "array"
        },
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        }
      },
      "title": "_SearchMeta",
      "type": "object"
    },
    "_SearchRanks": {
      "properties": {
        "bm25": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bm25"
        },
        "graph": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph"
        },
        "combined": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Combined"
        }
      },
      "title": "_SearchRanks",
      "type": "object"
    },
    "_SearchScores": {
      "properties": {
        "bm25": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bm25"
        },
        "graph": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph"
        }
      },
      "title": "_SearchScores",
      "type": "object"
    }
  },
  "title": "SearchResult"
}
🟢entity_lookup(name, limit, include_full_text)

Find TCLP content (clauses, glossary terms, guides) associated with a named concept. Unlike `search`, this performs a deterministic name match against Entity nodes in the knowledge graph rather than a relevance-ranked semantic search. Use it when you have a specific term or concept (e.g. "scope 3 emissions", "net zero") and want to retrieve every clause or glossary entry that explicitly references it. Args: name: The entity or concept name to look up (exact match, case-insensitive). limit: Maximum number of results to return (1–50). include_full_text: Include each hit's full body text (Markdown). Off by default — bodies are large; request only when you need the content, and prefer a small `limit` when you do. Returns: JSON with "meta" and "results" where each hit includes the source content node and the entity names that matched. Each hit's "references" lists the instruments it cites: pass a reference's `work_id` to `get_legal_resource` for details. A reference's `edge` (governs, references, describes) says how the content relates to the instrument; it is not a statement of the instrument's legal effect. If meta.degraded contains "lrsf", references could not be loaded: do not conclude that a hit cites no instruments.

입력 스키마

{
  "type": "object",
  "properties": {
    "name": {
      "title": "Name",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "title": "Limit",
      "type": "integer"
    },
    "include_full_text": {
      "default": false,
      "title": "Include Full Text",
      "type": "boolean"
    }
  },
  "required": [
    "name"
  ],
  "title": "entity_lookupArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_SearchMeta"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/_EntityHit"
      },
      "title": "Results",
      "type": "array"
    }
  },
  "required": [
    "meta",
    "results"
  ],
  "$defs": {
    "_EntityHit": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "content_type": {
          "title": "Content Type",
          "type": "string"
        },
        "ranks": {
          "$ref": "#/$defs/_SearchRanks"
        },
        "scores": {
          "$ref": "#/$defs/_SearchScores"
        },
        "full_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Text"
        },
        "relationships": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/_Relationship"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Relationships"
        },
        "entity_matches": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Matches"
        },
        "references": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/_Reference"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "References"
        }
      },
      "title": "_EntityHit",
      "type": "object"
    },
    "_Reference": {
      "properties": {
        "edge": {
          "title": "Edge",
          "type": "string"
        },
        "work_id": {
          "title": "Work Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "nature": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nature"
        },
        "jurisdiction": {
          "items": {
            "type": "string"
          },
          "title": "Jurisdiction",
          "type": "array"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "staleness": {
          "title": "Staleness",
          "type": "string"
        }
      },
      "required": [
        "edge",
        "work_id",
        "name",
        "nature",
        "jurisdiction",
        "status",
        "staleness"
      ],
      "title": "_Reference",
      "type": "object"
    },
    "_Relationship": {
      "properties": {
        "path_types": {
          "items": {
            "type": "string"
          },
          "title": "Path Types",
          "type": "array"
        },
        "target_id": {
          "title": "Target Id",
          "type": "string"
        },
        "target_label": {
          "title": "Target Label",
          "type": "string"
        },
        "target_name": {
          "title": "Target Name",
          "type": "string"
        },
        "target_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Target Url"
        }
      },
      "required": [
        "path_types",
        "target_id",
        "target_label",
        "target_name",
        "target_url"
      ],
      "title": "_Relationship",
      "type": "object"
    },
    "_SearchMeta": {
      "properties": {
        "total_available": {
          "title": "Total Available",
          "type": "integer"
        },
        "graph_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph Total"
        },
        "text_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text Total"
        },
        "degraded": {
          "items": {
            "type": "string"
          },
          "title": "Degraded",
          "type": "array"
        },
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        }
      },
      "title": "_SearchMeta",
      "type": "object"
    },
    "_SearchRanks": {
      "properties": {
        "bm25": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bm25"
        },
        "graph": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph"
        },
        "combined": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Combined"
        }
      },
      "title": "_SearchRanks",
      "type": "object"
    },
    "_SearchScores": {
      "properties": {
        "bm25": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bm25"
        },
        "graph": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Graph"
        }
      },
      "title": "_SearchScores",
      "type": "object"
    }
  },
  "title": "EntityLookupResult"
}
🟢find_legal_resources(query, nature, jurisdiction, sector, bindingness, ...)

Find the laws, regulations, standards, frameworks and guidance that TCLP content refers to. This is not a general legal database: it holds only the instruments that TCLP clauses, guides and glossary terms cite. Status "stub": identity confirmed, metadata minimal; a null or empty field means not yet recorded, not that it does not apply. On a stub, `nature` may be an unreviewed inference, and is often null. Do not fill in missing fields from your own knowledge, and do not state an instrument's legal effect. A filter on nature, sector or bindingness excludes works where that field is not recorded. Most works do not record these yet, so an empty result does not mean that TCLP content cites no such instrument; prefer `query` or `jurisdiction`. Args: query: Case-insensitive substring match on name and aliases (e.g. "CSRD"), at most 200 characters. An exact name or alias match ranks first. nature: Any of "legislation", "regulation", "standard", "framework", "guidance". jurisdiction: Jurisdiction slugs, matched exactly: lower-case letters, digits and hyphens (e.g. "european-union"). Get valid values from `taxonomy_facets(scope="legal_resource")`. sector: Sector slugs, matched exactly: lower-case letters, digits and hyphens. Get valid values from `taxonomy_facets(scope="legal_resource")`. bindingness: Any of "binding", "comply_or_explain", "voluntary", "depends". Each list filter takes at most 20 values. limit: Maximum results (1–100, default 20). offset: Result offset for paging (0–10000, default 0). Returns: JSON with "meta" (total_available, limit, offset) and "results" (one entry per instrument, with `work_id` for `get_legal_resource` and `citing_count`).

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Query"
    },
    "nature": {
      "anyOf": [
        {
          "items": {
            "enum": [
              "legislation",
              "regulation",
              "standard",
              "framework",
              "guidance"
            ],
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Nature"
    },
    "jurisdiction": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Jurisdiction"
    },
    "sector": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Sector"
    },
    "bindingness": {
      "anyOf": [
        {
          "items": {
            "enum": [
              "binding",
              "comply_or_explain",
              "voluntary",
              "depends"
            ],
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bindingness"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "offset": {
      "default": 0,
      "title": "Offset",
      "type": "integer"
    }
  },
  "title": "find_legal_resourcesArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_LegalResourceListMeta"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/_LegalResource"
      },
      "title": "Results",
      "type": "array"
    }
  },
  "required": [
    "meta",
    "results"
  ],
  "$defs": {
    "_LegalResource": {
      "properties": {
        "work_id": {
          "title": "Work Id",
          "type": "string"
        },
        "work_id_scheme": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Work Id Scheme"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "aliases": {
          "items": {
            "type": "string"
          },
          "title": "Aliases",
          "type": "array"
        },
        "nature": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nature"
        },
        "jurisdiction": {
          "items": {
            "type": "string"
          },
          "title": "Jurisdiction",
          "type": "array"
        },
        "sector": {
          "items": {
            "type": "string"
          },
          "title": "Sector",
          "type": "array"
        },
        "bindingness": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bindingness"
        },
        "bindingness_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bindingness Note"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "citing_count": {
          "title": "Citing Count",
          "type": "integer"
        }
      },
      "title": "_LegalResource",
      "type": "object"
    },
    "_LegalResourceListMeta": {
      "properties": {
        "total_available": {
          "title": "Total Available",
          "type": "integer"
        },
        "limit": {
          "title": "Limit",
          "type": "integer"
        },
        "offset": {
          "title": "Offset",
          "type": "integer"
        },
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        }
      },
      "title": "_LegalResourceListMeta",
      "type": "object"
    }
  },
  "title": "LegalResourceListResult"
}
🟢get_legal_resource(work_id, citing_limit)

Get one law, regulation, standard, framework or guidance, and the TCLP content citing it. Versions are not tracked yet, so every citation has `staleness: "unpinned"`: the content cites the instrument without naming a version. There is no description yet; do not supply one from your own knowledge, and do not state the instrument's legal effect. Args: work_id: The instrument's `work_id`, from `find_legal_resources` or from a search result's "references". citing_limit: Maximum citing content items to return (1–100, default 20). Returns: JSON with "resource", "citing" (each with id, title, url, content_type, edge, staleness) and "citing_total". `edge` (governs, references, describes) says how the content relates to the instrument; it is not a statement of the instrument's legal effect.

입력 스키마

{
  "type": "object",
  "properties": {
    "work_id": {
      "title": "Work Id",
      "type": "string"
    },
    "citing_limit": {
      "default": 20,
      "title": "Citing Limit",
      "type": "integer"
    }
  },
  "required": [
    "work_id"
  ],
  "title": "get_legal_resourceArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_TaxonomyFacetsMeta"
    },
    "resource": {
      "$ref": "#/$defs/_LegalResource"
    },
    "citing": {
      "items": {
        "$ref": "#/$defs/_CitingContent"
      },
      "title": "Citing",
      "type": "array"
    },
    "citing_total": {
      "title": "Citing Total",
      "type": "integer"
    }
  },
  "required": [
    "meta",
    "resource",
    "citing",
    "citing_total"
  ],
  "$defs": {
    "_CitingContent": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "content_type": {
          "title": "Content Type",
          "type": "string"
        },
        "edge": {
          "title": "Edge",
          "type": "string"
        },
        "staleness": {
          "title": "Staleness",
          "type": "string"
        }
      },
      "required": [
        "id",
        "title",
        "url",
        "content_type",
        "edge",
        "staleness"
      ],
      "title": "_CitingContent",
      "type": "object"
    },
    "_LegalResource": {
      "properties": {
        "work_id": {
          "title": "Work Id",
          "type": "string"
        },
        "work_id_scheme": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Work Id Scheme"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "aliases": {
          "items": {
            "type": "string"
          },
          "title": "Aliases",
          "type": "array"
        },
        "nature": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nature"
        },
        "jurisdiction": {
          "items": {
            "type": "string"
          },
          "title": "Jurisdiction",
          "type": "array"
        },
        "sector": {
          "items": {
            "type": "string"
          },
          "title": "Sector",
          "type": "array"
        },
        "bindingness": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bindingness"
        },
        "bindingness_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bindingness Note"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "citing_count": {
          "title": "Citing Count",
          "type": "integer"
        }
      },
      "title": "_LegalResource",
      "type": "object"
    },
    "_TaxonomyFacetsMeta": {
      "properties": {
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        }
      },
      "required": [
        "took_ms",
        "request_id"
      ],
      "title": "_TaxonomyFacetsMeta",
      "type": "object"
    }
  },
  "title": "LegalResourceDetailResult"
}
🟢taxonomy_facets(scope)

List taxonomy facets and their value slugs across TCLP content. Facets are taxonomy categories like `sector`, `practice_area`, `application`, and `jurisdiction`. Each facet returns the list of slugs that actually appear on the graph, with counts. Use this to discover the vocabulary, then call `taxonomy_content` with chosen slugs. Args: scope: Which labels to include — `clause` (ClauseName only), `guide` (Guide only), `legal_resource` (laws, regulations, standards and frameworks; facets `jurisdiction` and `sector` only), or `all` (clauses and guides, the default). Returns: JSON with "meta" and "facets". Each facet has `name`, `applies_to` (list of Neo4j labels carrying it), and `values` (list of `{slug, count}`, sorted by count desc).

입력 스키마

{
  "type": "object",
  "properties": {
    "scope": {
      "default": "all",
      "title": "Scope",
      "type": "string"
    }
  },
  "title": "taxonomy_facetsArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_TaxonomyFacetsMeta"
    },
    "facets": {
      "items": {
        "$ref": "#/$defs/_TaxonomyFacet"
      },
      "title": "Facets",
      "type": "array"
    }
  },
  "required": [
    "meta",
    "facets"
  ],
  "$defs": {
    "_TaxonomyFacet": {
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "applies_to": {
          "items": {
            "type": "string"
          },
          "title": "Applies To",
          "type": "array"
        },
        "values": {
          "items": {
            "$ref": "#/$defs/_TaxonomyFacetValue"
          },
          "title": "Values",
          "type": "array"
        }
      },
      "required": [
        "name",
        "applies_to",
        "values"
      ],
      "title": "_TaxonomyFacet",
      "type": "object"
    },
    "_TaxonomyFacetValue": {
      "properties": {
        "slug": {
          "title": "Slug",
          "type": "string"
        },
        "count": {
          "title": "Count",
          "type": "integer"
        }
      },
      "required": [
        "slug",
        "count"
      ],
      "title": "_TaxonomyFacetValue",
      "type": "object"
    },
    "_TaxonomyFacetsMeta": {
      "properties": {
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        }
      },
      "required": [
        "took_ms",
        "request_id"
      ],
      "title": "_TaxonomyFacetsMeta",
      "type": "object"
    }
  },
  "title": "TaxonomyFacetsResult"
}
🟢taxonomy_content(filters, scope, limit, offset, sort)

List TCLP content (clauses, guides) or legal resources filtered by taxonomy facet=value. Multi-facet filters are combined with AND. Call `taxonomy_facets` first to learn which facet names and slugs exist; using a name not in that list returns a 400. Args: filters: Mapping of facet name to value slug, e.g. `{"sector": "real-estate", "practice_area": "commercial"}`. Each facet may appear at most once. scope: `clause` (ClauseName only), `guide` (Guide only), `legal_resource` (laws, regulations, standards and frameworks; facets `jurisdiction` and `sector` only), or `all` (clauses and guides, the default). limit: Maximum results to return (1–100, default 25). offset: Result offset for paging (default 0). sort: `title`, `date_published_desc`, or `date_modified_desc`. Returns: JSON with "meta" (totals, scope, filters echoed back) and "results" (each hit has `id`, `url`, `title`, `content_type`, dates, and a `facets` map of all taxonomy arrays on the node).

입력 스키마

{
  "type": "object",
  "properties": {
    "filters": {
      "additionalProperties": {
        "type": "string"
      },
      "title": "Filters",
      "type": "object"
    },
    "scope": {
      "default": "all",
      "title": "Scope",
      "type": "string"
    },
    "limit": {
      "default": 25,
      "title": "Limit",
      "type": "integer"
    },
    "offset": {
      "default": 0,
      "title": "Offset",
      "type": "integer"
    },
    "sort": {
      "default": "title",
      "title": "Sort",
      "type": "string"
    }
  },
  "required": [
    "filters"
  ],
  "title": "taxonomy_contentArguments"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/$defs/_TaxonomyContentMeta"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/_TaxonomyContentHit"
      },
      "title": "Results",
      "type": "array"
    }
  },
  "required": [
    "meta",
    "results"
  ],
  "$defs": {
    "_TaxonomyContentHit": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "content_type": {
          "title": "Content Type",
          "type": "string"
        },
        "date_published": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Date Published"
        },
        "date_modified": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Date Modified"
        },
        "facets": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": "Facets",
          "type": "object"
        }
      },
      "title": "_TaxonomyContentHit",
      "type": "object"
    },
    "_TaxonomyContentMeta": {
      "properties": {
        "total_available": {
          "title": "Total Available",
          "type": "integer"
        },
        "took_ms": {
          "title": "Took Ms",
          "type": "integer"
        },
        "request_id": {
          "title": "Request Id",
          "type": "string"
        },
        "scope": {
          "title": "Scope",
          "type": "string"
        },
        "filters": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Filters",
          "type": "object"
        }
      },
      "required": [
        "total_available",
        "took_ms",
        "request_id",
        "scope",
        "filters"
      ],
      "title": "_TaxonomyContentMeta",
      "type": "object"
    }
  },
  "title": "TaxonomyContentResult"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 4개
검증됨버전이 기록되지 않음도구 4개