Skip to main content
Glama

Legal agreement check

wever_legal-agreement-check
Read-only

Agent Legal: submit an executed agreement with the term sheet or deal summary it was drafted from: the agreement with its reference, the deal, each party, the price and its currency, the term in months, the effective date and last day, and each key obligation it states; the term sheet with its reference, the deal, each party, the price and its currency, the term in months, the effective date and last day, and each commitment it states. The signed report gives the agreement and the term sheet, each party on both sides with those named on one side only, the price on each side, the term on each side, and each key obligation matched to a term-sheet commitment with every obligation that has no counterpart and every commitment the agreement drops named, and counts them, and names a divergent agreement: a party, currency, price or term unlike the term sheet, a key obligation with no counterpart in the term sheet and a term-sheet commitment the agreement drops; then another deal name, with the fix for each and what would change the verdict. Parties, a price, a term or commitments the term sheet states and the agreement leaves out, a price the agreement states and the term sheet leaves out, or a term sheet that states none of the four leaves the agreement unverified. Parties read as parties without case, punctuation or a legal suffix, the price compares to the cent in one currency, the term reads as its months and its first and last day, and obligations and commitments read by their words with plurals folded. Verdict legal_agreement_divergent, legal_agreement_partial, legal_agreement_unverified or legal_agreement_consistent. POST /api/legal-agreement-check. Reads the contract records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads consistency between documents only: it never drafts, negotiates, signs or files anything, judges no fairness of terms and no readiness of a deal to settle, and leaves enforceability, interpretation and legal advice to lawyers, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Legal reads contract records across the agreement lifecycle for consistency between documents: an executed agreement, a statement of work, an order form, an amendment, an execution record, a renewal or termination notice, the exhibits attached to an agreement and an assignment record, each against the term sheet or deal summary, the master agreement, the pricing terms and the quote, the agreement it amends, the signature requirements, the notice clause, the exhibits the agreement references or the assignment clause it should agree with. The family is sector-neutral and compares different documents with each other, not versions of one document. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-legal-contract. Human page: https://weverlabs.com/agent-legal/.

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": {
      "agreement": "<agreement>",
      "term_sheet": "<term_sheet>"
    },
    "name": "wever_legal-agreement-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
agreementYes
term_sheetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this a non-destructive, closed-world read, and the description reinforces that with 'no network request, fetch, message, payment or external write' and a listing of the record types it reads. It adds genuinely useful operational context — 0.10 USDC per call on Base via x402, ten signed-wallet free calls per rolling 30 days, an X-Wever-Wallet-Proof header bound to the exact JSON arguments and route, and an Ed25519 signed receipt. However, it omits practical behavior an agent must plan around: error and payment-failure handling, latency, and whether the same inputs can be replayed within the free quota given idempotentHint=false.

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

Conciseness2/5

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

The core action is front-loaded, but the body is a single run-on block that restates the same field lists and the same divergence conditions twice ('each party on both sides with those named on one side only...' and then 'a party, currency, price or term unlike the term sheet'). Pricing, contract URL and human-page links are appended to the same paragraph rather than separated, making the definition hard to scan despite most facts being individually useful.

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 carries the burden of describing the return value, and it does: the signed report, the verdict enum of four values, the evidence read, findings with fixes, and what would change the verdict. It also covers what is compared and how values are normalized. Gaps remain around failure modes on malformed input or payment rejection and around the unexplained `label` field, but the definition is otherwise sufficient for a correct call.

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 only 33%, and the description compensates by enumerating the required fields on both sides — reference, deal, parties, price and currency, term in months, effective date and last day, and obligations versus commitments. It also adds normalization semantics absent from the schema: parties compared without case, punctuation or legal suffix; price compared to the cent in one currency; term read as months plus first and last day; obligations matched by words with plurals folded. The optional `label` parameter is never mentioned, which keeps it from a 5.

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 — compare an executed agreement against the term sheet it was drafted from and return a signed report with a verdict. It also distinguishes itself from siblings by naming the document family and clarifying that it compares different documents with each other rather than versions of one document, which separates it from amendment-check style tools.

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?

Explains when the tool applies (an executed agreement plus its term sheet or deal summary) and gives concrete conditions that change the outcome — a missing party, price, term or commitment yields legal_agreement_unverified — plus explicit out-of-scope statements (no drafting, negotiating, signing, filing, fairness or enforceability judgment). It stops short of naming specific sibling tools to use for amendment, SOW, order-form or signature checks, leaving that routing to inference from the family sentence.

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