Skip to main content
Glama

indian_legal_mcp_resolve_act

[TOKEN OPTIMIZATION TOOL: Use this instead of list_acts to find act codes for any legal topic or statute name in a tiny, lightweight response.] Find the exact act_code(s) for any topic, statute name, or keyword. Returns a compact list of matching Acts with their act_code, official name, and enactment year. Examples: resolve_act('environment') -> [EPA, NGT, AIR, WATER, WPA, VSA] resolve_act('hindu') -> [HMA, HSA, HAMA] resolve_act('cheque') -> [NIA] resolve_act('company') -> [CA, IBC, COMMERCIAL_COURTS] resolve_act('marriage') -> [HMA, SMA, FCA, PCMA] resolve_act('data protection') -> [DPDPA, IT_ACT]

Input Schema

NameRequiredDescriptionDefault
queryYessearch term, topic, or statute name, e.g. 'environment', 'hindu', 'cheque', 'company', 'tax', 'labor', 'bail'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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 does disclose the return payload (compact list of act_code, official name, enactment year) and the token-optimization intent, which is valuable given there is no output schema. However, it says nothing about no-match behavior, result completeness, or error handling.

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

Conciseness4/5

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

The routing instruction is front-loaded in a bracket prefix, and the return shape follows immediately. The six examples are somewhat repetitive but do usefully illustrate the topic-to-code mapping behavior.

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?

With no output schema, the description correctly explains the return values and their compactness, which is the key missing structured information. It is nearly complete for a single-parameter resolver, lacking only failure/no-match semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single 'query' parameter, so the schema already documents it. The description's examples ('environment', 'hindu', 'cheque') largely restate the schema's own examples and add no new syntax or format constraints, so the baseline 3 applies.

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 and resource ('find the exact act_code(s)') and explicitly names the sibling it replaces ('Use this instead of list_acts'). An agent can distinguish it from list_acts and search_keyword without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use this instead of list_acts for resolving a topic/statute to act codes. The bracket prefix and the six worked examples make the intended call pattern unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.