Skip to main content
Glama
omarnagy91
by omarnagy91

extract_parties

Identify all contract parties, defined terms, roles, registration identifiers, addresses, and signatories with anchor references in both English and Arabic legal documents.

Instructions

Extract the parties, their defined terms and roles, their registration identifiers and addresses, and the signatories with their titles, each with an anchor. Reads both drafting traditions: the English numbered recital with a bracketed defined term, and the Arabic ordinal block with the ويشار إليه formula and the ويمثلها في التوقيع representative clause, which names the person who actually bound the company and is often the only place they are named.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the document. Accepts .pdf, .docx or a plain text file (.txt, .md). Absolute paths are safest. The format is detected from the file content, not the extension.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers. It discloses cross-tradition reading, the anchor behavior, and the practical insight that the Arabic representative clause is often the only place the signatory is named. It stops short of describing output structure or failure modes, but the behavioral traits it reveals are specific and useful.

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?

The first sentence front-loads the complete list of extracted entities, and the second sentence adds essential format-recognition nuance without fluff. Every clause earns its place, including the Arabic terminology, which is necessary for correctly recognizing the target structures. It avoids repeating schema content.

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?

The description is rich enough for an agent to invoke the tool on the right document and understand what it returns at a semantic level. However, there is no output schema, so the exact return structure (e.g., fields, nesting, anchor representation) is not specified. This is a minor gap given the detailed entity enumeration.

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 coverage is 100%, and the single parameter (path) is already well documented in the schema, including accepted formats and content-based detection. The description adds no parameter-specific detail, but none is needed. The baseline score 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 ('Extract') and a precise resource: parties, defined terms, roles, registration identifiers, addresses, signatories, titles, and anchors. This clearly differentiates it from sibling extraction tools like extract_dates and find_clauses. There is no ambiguity about what the tool returns.

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 description gives clear context on the two drafting traditions the tool handles, including the English bracketed defined term and the Arabic ordinal block with representative clause. This helps an agent decide when this tool fits a document. It does not explicitly name alternatives or state when-not-to-use, but the contextual guidance is strong.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omarnagy91/legal-intake-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server