Skip to main content
Glama

harvest_sovereign_rules

Extract sovereign data rules from raw legal text or regulation URLs and mint a Certified Regulation Pack for auditable compliance.

Instructions

Extract sovereign rules from regulation using the Flint Bridge.

Requires Enterprise tier and the odgs-commercial package. Automates the extraction of sovereign data rules from raw legal text or URLs and mints a Certified Regulation Pack.

Args: source_text: Raw regulation text to harvest. source_url: URL to regulation source (alternative to text). harvester_type: Blueprint/harvester type (e.g., 'eu_ai_act', 'generic').

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "harvest_sovereign_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_urlNo
source_textNo
harvester_typeNogeneric

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose entitlement gating and a persistent side effect (minting a Certified Regulation Pack), which are the most important behavioral facts. It omits idempotency, precedence when both inputs are given, error conditions, and whether re-harvesting overwrites an existing pack.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is good — purpose first, then prerequisites, then the artifact. But the second sentence ('Automates the extraction of sovereign data rules from raw legal text or URLs and mints a Certified Regulation Pack') largely restates the first, adding only the artifact detail, and the Args block duplicates parameter names without new types.

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?

For a 3-parameter, zero-required tool with an output schema, the definition is close to complete: purpose, entitlement requirement, input-source alternatives, and the output artifact are all present. The remaining gap is behavior on conflicting inputs and on repeated harvests, which matters for a tool that mints artifacts.

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 description coverage is 0%, so the description must compensate, and it does: all three parameters are explained, source_url is marked as an alternative to source_text, and harvester_type is given concrete example values ('eu_ai_act', 'generic') plus a default of 'generic'. The mutual-exclusivity rule between the two source parameters is implied but not made explicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Extract sovereign rules from regulation') plus the produced artifact ('mints a Certified Regulation Pack'), which is far more than a restated name. It falls short of a 5 because it never distinguishes itself from the sibling 'compile_regulation', which an agent could easily confuse with this extraction step.

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

Usage Guidelines3/5

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

It gives a real prerequisite ('Requires Enterprise tier and the `odgs-commercial` package') and states that source_url is an 'alternative to text', which is genuine usage context. However, it offers no guidance on when to prefer this over compile_regulation or the other sibling tools, and does not say what happens if both source_text and source_url are supplied.

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