Skip to main content
Glama

Legal statement of work check

wever_legal-sow-check
Read-only

Agent Legal: submit a statement of work with the master agreement it sits under: the statement of work with its reference, the master agreement it cites, each party, each item of scope, the currency, the total fees, each fee line with its id, item and amount, and its first and last day; the master agreement with its reference, each party, each service it covers, the currency, the most one statement of work may charge, its effective date and last day, and the longest statement of work it allows in months. The signed report gives the statement of work and the master agreement, the reference cited against the master’s own, each party against the master’s parties, each item of scope against the services the master covers with every item outside them named, the fees against the cap with the total of the fee lines, and the work’s first and last day against the master’s term and the longest statement of work it allows, and counts them, and names a divergent statement of work: another master agreement reference, a party the master does not name, scope outside the master’s scope, another currency, fees above the cap and a term that starts before the master, ends after it or runs longer than it allows; then a stated total unlike its fee lines, with the fix for each and what would change the verdict. A reference, parties, scope, fees or a start or end the master states and the statement of work leaves out, or a master agreement that states none of these, leaves the statement of work unverified. The reference reads by its letters and digits, parties as parties without a legal suffix, scope by its words with plurals folded, fees to the cent in one currency, and the longest statement of work counts its months to the same calendar day. Verdict legal_sow_divergent, legal_sow_partial, legal_sow_unverified or legal_sow_consistent. POST /api/legal-sow-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": {
      "sow": "<sow>",
      "master": "<master>"
    },
    "name": "wever_legal-sow-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
sowYes
labelNoOptional name recorded in the report.
masterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations it discloses genuinely operational facts: pricing (0.10 USDC per call on Base via x402 exact with 10 free signed-wallet calls per 30 days), the X-Wever-Wallet-Proof binding to the JSON arguments and route, an Ed25519 signed receipt, and the guarantee that records stay in the report with no network request or external write. It also enumerates what makes a result 'unverified' and what normalization is applied (letters/digits for refs, legal suffixes stripped from parties, plurals folded in scope, fees to the cent, months counted to the same calendar day). The no-drafting/no-legal-advice boundary is consistent with readOnlyHint=true and openWorldHint=false; nothing contradicts the annotations.

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 description is a wall of multi-clause sentences that repeats the same field lists twice (once for the inputs, once for the report) and strings comparisons together with commas rather than a structured list. The verdict values, payment terms and boundary statements are all present but not front-loaded or separable, forcing the agent to parse rather than scan. Size is driven by repetition, not by information density.

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?

For a nested-object mutation-free check with no output schema, the definition covers what the agent needs: the complete input shape, the four verdicts, what the signed report contains (evidence, findings with fixes, what would change the verdict), and what makes a SOW unverified. Only minor gaps remain, such as the meaning of the optional label and failure behavior on malformed dates.

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 description coverage is only 33%, so the description carries real weight, and it does: it walks through every nested field of sow and master (ref, master_ref, parties, scope, currency, fees, lines with id/item/amount, starts_on/ends_on, fee_cap, effective_on, max_months) and explains what each is compared against. It also adds normalization semantics the schema cannot express, such as how references, party names, scope wording and month spans are read. It does not explain the optional 'label' parameter or error behavior for invalid dates, keeping it below 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause states a specific verb and resource ('submit a statement of work with the master agreement it sits under') and the verdict set names the comparison precisely. The family paragraph also implies the boundary against version-comparing siblings ('compares different documents with each other, not versions of one document'), though no specific sibling is named. Clarity is real but buried under a very long run-on enumeration.

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 usage context (check a SOW against the master agreement it cites) and explicit exclusions: it 'never drafts, negotiates, signs or files anything', 'judges no fairness of terms and no readiness of a deal to settle', and leaves enforceability and legal advice to lawyers. What it lacks is a direct route to an alternative sibling (e.g. amendment-check or exhibit-check), so an agent must infer which tool owns which comparison.

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