get_resource
Fetches guides, reference material, and documentation by URI when direct MCP resource access is unavailable, so agents can retrieve legislation-specific help and schemas.
Instructions
Fetch a resource by URI. For agents that cannot access MCP resources directly, use this tool to retrieve guides, reference material, and documentation.
Available resources:
guide://getting-started— Overview and quick startguide://troubleshooting— Common errors and edge casescookbook://index— Index of all cookbook recipescookbook://check-extent— How to check geographical extentcookbook://point-in-time-version— How to retrieve historical versionscookbook://semantic-search-workflow— Semantic search step-by-step (needs the semantic search backend)types://guide— All UK legislation type codes (ukpga,uksi, etc.)types://data— Type codes as JSONyears://regnal— Regnal year identifiers for pre-1963 legislationtext://format-guide— Plain text output format documentationclml://schema-guide— CLML XML structure referenceclml://metadata/extent— Geographical extent in CLMLatom://feed-guide— Atom feed format for search resultsjson://search-response— search_legislation response formatjson://metadata-response— get_legislation_metadata response formatjson://table-of-contents-response— get_legislation_table_of_contents response formatjson://semantic-search-response— search_legislation_semantic response formatjson://semantic-section-response— search_legislation_sections_semantic response format
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": {
"uri": "<uri>"
},
"name": "get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Resource URI (e.g. `guide://getting-started`, `types://guide`) |