Skip to main content
Glama

contracts

Start drafting a contract (free preview)

start_contract_draft

Prepare a contract draft with Pactlio's multi-agent AI engine (drafter, critic, compliance checker). Returns a preview_id and a URL. Generation (3-5 minutes) starts only when a human opens that URL in a browser — share it with your user, then poll get_draft_status. Free preview shows the opening sections; the full contract is unlocked by a human via checkout. Provide deal_summary fields collected via get_intake_questions (at minimum: parties, plus the required fields for the contract type). REQUIRES accept_terms: true — first confirm with your user that they accept the Pactlio Terms of Use and understand the output is an AI-generated draft for review, not legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accept_termsYesMust be true. Confirms your end user accepts the Pactlio Terms of Use (https://www.pactlio.com/terms) and understands the result is an AI-generated draft for review — not legal advice, and no attorney-client relationship is created.
deal_summaryYesAnswers keyed by field name from get_intake_questions, e.g. {"parties":{"you":"Acme Inc","other":"Jane Doe"},"customFields":{...}}
jurisdictionNoJurisdiction id, e.g. "california", "us_general", "uk_england_wales"
contract_typeYesContract type id, e.g. "nda_mutual" (see list_contract_types)

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It covers generation timing (3-5 minutes), the human-in-the-loop activation, the free-preview vs. full-contract distinction, the legal disclaimer, and the mandatory accept_terms flag. This is exemplary for a zero-annotation context.

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 description is long but information-dense. It fronts the purpose and then logically orders the return value, timing, human-activation, preview/unlock, prerequisites, and the legal condition. Every clause serves a purpose, though it could be tightened slightly without losing value.

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?

For a complex initiating tool with async behavior, prerequisites, and human involvement, this description is complete. It specifies return values (preview_id, URL), the follow-up polling action, the necessity of intake data, the mandatory terms acceptance, and the legal caveat. No critical information is missing for correct invocation.

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%, so the baseline is 3. The description adds meaningful context beyond the schema by linking deal_summary to get_intake_questions, specifying minimum required fields (parties), and emphasizing that accept_terms must be true after confirming with the user. It also hints at the contract_type source via list_contract_types in the schema, which is reinforced.

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?

The description begins with a clear verb-resource pair ('Prepare a contract draft') and distinguishes it from siblings by describing the multi-agent AI engine, the preview mechanism, and the URL flow. It also references get_draft_status and get_intake_questions, making its role in the workflow explicit.

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 provides a clear usage sequence: collect deal_summary via get_intake_questions, require accept_terms:true, share the URL for human opening, then poll get_draft_status. It doesn't explicitly name alternatives like analyze_contract or get_checkout_link, but the workflow implications are 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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: analyzing existing contracts, checking non-compete enforceability, managing draft lifecycle (questions, start, status, checkout), listing types, and getting jurisdiction requirements. No two tools have overlapping functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case (e.g., analyze_contract, get_checkout_link, list_contract_types), making them predictable and easy to understand.

Tool Count5/5

With 8 tools covering contract analysis, drafting, and legal requirements, the count is well-scoped for the server's purpose. Each tool serves a necessary function without bloat or deficiency.

Completeness4/5

The tool set covers listing, intake, drafting, status checking, payment, analysis, and legal requirements. However, after payment there is no tool to retrieve the full contract text programmatically; users must visit a URL, which is a minor gap.

Resources