Skip to main content
Glama
PubLedge MCP Server

PubLedge MCP Server

Official
by snapsynapse

search_obligations

Search obligation titles, IDs, and body text to locate specific legal obligations within PubLedge's public registry without scanning unrelated content.

Instructions

Search only within obligations (obligation titles, IDs, body text). Same query semantics as search but scoped.

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": {
      "query": "<query>"
    },
    "name": "search_obligations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query (case-insensitive substring match)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.5

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies a safe read operation and repeats the case-insensitive substring matching semantics, but says nothing about result caps, ordering, pagination, or what happens with zero matches—relevant gaps for an unannotated tool.

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?

Two short sentences with zero filler; the scope constraint is front-loaded and the semantic comparison to search follows immediately. Nothing could be removed without losing information.

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 one-parameter, no-output-schema lookup, the definition covers purpose, scope, and matching semantics adequately. The only meaningful omission is behavior around result volume and ordering, which matters more in the absence of annotations.

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 coverage is 100% and there is a single documented parameter, so the baseline is already high. The description still adds value by clarifying that the query is matched against obligation titles, IDs, and body text, which the schema does not specify.

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?

States a specific verb (search) and an explicit scope (obligations only), then enumerates the searched fields (titles, IDs, body text). It also names the sibling it differs from (search) and explains the difference in one clause, so an agent can distinguish it without opening either schema.

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 phrase 'only within obligations... Same query semantics as search but scoped' tells the agent exactly when this tool is the right pick over the broader search. It stops short of mentioning list_obligations for enumeration-style retrieval, so the routing guidance is clear but not exhaustive.

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