Skip to main content
Glama

FAI Legal Research

Get a Pakistani legal drafting template

get_drafting_template
Read-onlyIdempotent

Return one reviewed template: its structure, the facts that must be collected first, and the standard wording for its Pakistani forum. Ask the user for any missing facts, never invent them, then fill the template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesAn id from list_drafting_templates, e.g. "legal-notice".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameNo
noteYes
forumNo
foundYes
messageNo
categoryNo
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine value beyond that: the template is 'reviewed', and it discloses the return content and the anti-hallucination constraint on missing facts.

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 compact sentences, no filler, and the deliverable is front-loaded before the workflow instruction. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Purpose, returned content, parameter source, and the operating constraint (ask, don't invent) are all present, and an output schema exists so return-value documentation is unnecessary. An agent has everything needed to invoke this correctly.

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?

There is a single parameter with 100% schema description coverage; the schema already documents template_id, its length bounds, and that it comes from list_drafting_templates. The description adds no additional parameter meaning, so the baseline of 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 ('Return one reviewed template') and enumerates the payload ('its structure, the facts that must be collected first, and the standard wording for its Pakistani forum'). The singular 'one' implicitly separates it from the sibling list_drafting_templates, which returns many.

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?

Gives clear operational context: ask the user for missing facts, never invent them, then fill the template. It also implies the template_id originates from list_drafting_templates via the schema. However, it never states when to prefer this tool over siblings like get_statute_section or search_judgments, and offers no exclusions.

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.

Resources