Skip to main content
Glama

Send a fact package to a counterparty for confirmation

fact_package_send

Send a fact package to another firm for confirmation through the FactLot record, and get back a link for them. For an expense (CAM) reconciliation: the tenant's facts (lease terms and the landlord's statement figures, each with its quote and page, from doc_verify_facts or doc_abstract_lease) go in a package from fact_package_create, the arithmetic is calc_cam_reconciliation's output as calculation, and each line is an item: accept_theirs where the sender accepts the counterparty's figure, state_ours where the lease gives a different figure and the counterparty is asked to agree or dispute it. The counterparty opens the link on a plain web page (no account needed), sees every item with both figures, the quote, page and document fingerprint, and agrees or disputes each. Every accepted or agreed item is recorded as a reliance, citing the package digest. The FactLot record keeps each fact, its quote, the page and each document's SHA-256, never the documents. A send goes to an outside party and cannot be recalled. Refuses without approved_by, the full name of the person who reviewed every item, and approval_confirmed: true. Refuses a package that fails fact_package_verify's integrity checks, and an item whose fact_ids are not in the package. Real or test: a package is sent for real only through the hosted FactLot API with the subscription's own FactLot key (paid, or an email-confirmed free key) or a connection signed in with one; a real send records reliances between the named organisations at once. Every other call is a test (no key, a free connection without a key, a guest key, or a local or self-hosted FactLot): the counterparty can still open the link and answer, but nothing is recorded as a reliance or counted in the FactLot record's measure. The answer says which happened (recorded_as, test_mode, and message with the reason). Returns the package id, digest, link_for_counterparty, status_link_for_sender (private to the sender) and what was recorded. For a tenant estoppel (kind estoppel) the items are the statements from estoppel_prepare package_items, every one state_ours: the tenant confirms each, or states its own version, on the same page; the tenant gives the signer's full name and title and signs electronically on the same page (a consent statement ticked and the name typed): the FactLot record keeps the signer, the time in UTC, the consent wording's version and a SHA-256 over the answered statements, and no IP address. relying_parties gives a lender or buyer its own view link (links_for_relying_parties), which shows the statements, the tenant's answers, the signature and the document fingerprints and lets that firm record its own reliance, one per confirmed statement and never on a disputed one, and only after the tenant has signed; where any statement is disputed, the page lists each with the tenant's own version and the firm must acknowledge them first, and the reliance stores which statements were confirmed and which disputed at that moment. The relying firm must differ from the sender and the tenant. With attestation (from audit_expense_statement, estoppel_prepare or rent_roll_certify on the hosted API) the FactLot record checks the service's signature and that the items, grades, figures and facts are the ones the service computed, and records the package as attested; a package with none is recorded as unattested, and a package with an attestation that does not verify is refused. Where the FactLot record requires it, a real package of kind expense_reconciliation, estoppel or rent_roll must be attested; test packages need not be. The answer says which (attestation.status and its line). fact_package_status reads the answers and the reliers later.

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": {
      "package": "<package>",
      "kind": "<kind>",
      "title": "<title>",
      "subject": "<subject>",
      "from": "<from>",
      "to": "<to>",
      "items": "<items>",
      "approved_by": "<approved_by>",
      "approval_confirmed": "<approval_confirmed>"
    },
    "name": "fact_package_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe counterparty.
fromYesThe sender: organisation, person, email.
kindYesWhat is being confirmed. estoppel: the statements from estoppel_prepare, answered by the tenant and then open to a lender or buyer through relying_parties. rent_roll: a certified rent roll from rent_roll_certify, asserted by the sender (no answer step) and open at once to the lender or buyer named in to, and to relying_parties, who record reliance on each line graded as matching.
itemsYesThe line items. The counterparty answers each state_ours item.
titleYesA title the counterparty sees.
packageYesThe package from fact_package_create (signed or not).
subjectYesThe property or lease the facts are about.
approved_byYesThe full name of the person at the sender who reviewed every item and approved sending this package. Recorded with the package and shown to the counterparty.
attestationNoThe attestation that the hosted FactLot service returned with package_items from audit_expense_statement, estoppel_prepare or rent_roll_certify, passed unchanged. The FactLot record checks the service's signature and that the items, grades, figures and facts sent are the ones the service computed. Without it the package is recorded as unattested.
calculationNoA calc tool's output (for example calc_cam_reconciliation) shown to the counterparty with every step.
estoppel_linksNoRent roll only: the sender's status link (status_link_for_sender) of each estoppel that backs a matches_lease_confirmed_by_tenant line. The FactLot record opens each with its private token to check the tenant agreed the statements; the token is not stored.
relying_partiesNoEstoppel and rent_roll only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the package and record its own reliance; none can answer for the tenant. For an estoppel with none given FactLot makes one link; for a rent roll the party named in to has a link already and these are additional.
approval_confirmedYesConfirms that the person named in approved_by reviewed every item, both figures, the quote and page behind each, the calculation and the recipient, and approved sending. The tool refuses unless it is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / attestation
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The attestation that the hosted FactLot service returned with package_items from audit_expense_statement, estoppel_prepare or rent_roll_certify, passed unchanged. The FactLot record checks the service's signature and that the items, grades, figures and facts sent are the ones the service computed. Without it the package is recorded as unattested.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / estoppel_links / description
      Previous value: -"Rent roll only: the sender's status link (status_link_for_sender) of each estoppel that backs a matches_lease_confirmed_by_tenant line. The Record opens each with its private token to check the tenant agreed the statements; the token is not stored."New value: +"Rent roll only: the sender's status link (status_link_for_sender) of each estoppel that backs a matches_lease_confirmed_by_tenant line. The FactLot record opens each with its private token to check the tenant agreed the statements; the token is not stored."
    • changedInput schema / properties / from / properties / email / description
      Previous value: -"Kept by the Record to reach the person; never shown to the other party."New value: +"Kept by FactLot to reach the person; never shown to the other party."
    • changedInput schema / properties / relying_parties / description
      Previous value: -"Estoppel and rent_roll only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the package and record its own reliance; none can answer for the tenant. For an estoppel with none given the Record makes one link; for a rent roll the party named in to has a link already and these are additional."New value: +"Estoppel and rent_roll only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the package and record its own reliance; none can answer for the tenant. For an estoppel with none given FactLot makes one link; for a rent roll the party named in to has a link already and these are additional."
    • changedInput schema / properties / to / properties / email / description
      Previous value: -"Kept by the Record; never shown to anyone else."New value: +"Kept by FactLot; never shown to anyone else."
  3. Changed9 schema fields changed
    • addedInput schema / properties / estoppel_links
      Added value: +{
      +  "description": "Rent roll only: the sender's status link (status_link_for_sender) of each estoppel that backs a matches_lease_confirmed_by_tenant line. The Record opens each with its private token to check the tenant agreed the statements; the token is not stored.",
      +  "items": {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  "maxItems": 60,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / differences
      Added value: +{
      +  "description": "Rent roll: the fields of the line that differ.",
      +  "items": {
      +    "properties": {
      +      "against": {
      +        "anyOf": [
      +          {
      +            "anyOf": [
      +              {
      +                "maxLength": 200,
      +                "type": "string"
      +              },
      +              {
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The figure it was compared with."
      +      },
      +      "against_label": {
      +        "description": "What it was compared with: Lease, Tenant or Roll.",
      +        "maxLength": 20,
      +        "type": "string"
      +      },
      +      "difference": {
      +        "description": "Roll minus the figure compared with.",
      +        "type": "number"
      +      },
      +      "field": {
      +        "description": "The field that differs.",
      +        "maxLength": 40,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "The field in words.",
      +        "maxLength": 80,
      +        "type": "string"
      +      },
      +      "roll": {
      +        "anyOf": [
      +          {
      +            "anyOf": [
      +              {
      +                "maxLength": 200,
      +                "type": "string"
      +              },
      +              {
      +                "type": "number"
      +              }
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The roll's figure."
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "label",
      +      "roll",
      +      "against",
      +      "against_label"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 12,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / estoppel_package_id
      Added value: +{
      +  "description": "Rent roll: the estoppel package whose confirmed statements back a matches_lease_confirmed_by_tenant grade.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / estoppel_statements
      Added value: +{
      +  "description": "Rent roll: the keys of the estoppel statements the tenant agreed.",
      +  "items": {
      +    "maxLength": 60,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 60,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / grade
      Added value: +{
      +  "description": "Rent roll: the line's grade from rent_roll_certify. Reliance is recorded only for matches_lease and matches_lease_confirmed_by_tenant.",
      +  "enum": [
      +    "matches_lease",
      +    "matches_lease_confirmed_by_tenant",
      +    "differs",
      +    "no_lease_supplied",
      +    "not_checkable"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / grade_label
      Added value: +{
      +  "description": "Rent roll: the grade in words, as rent_roll_certify gives it.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"What is being confirmed. estoppel: the statements from estoppel_prepare, answered by the tenant and then open to a lender or buyer through relying_parties."New value: +"What is being confirmed. estoppel: the statements from estoppel_prepare, answered by the tenant and then open to a lender or buyer through relying_parties. rent_roll: a certified rent roll from rent_roll_certify, asserted by the sender (no answer step) and open at once to the lender or buyer named in to, and to relying_parties, who record reliance on each line graded as matching."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "expense_reconciliation",
      -  "fact_confirmation",
      -  "estoppel"
      -]New value: +[
      +  "expense_reconciliation",
      +  "fact_confirmation",
      +  "estoppel",
      +  "rent_roll"
      +]
    • changedInput schema / properties / relying_parties / description
      Previous value: -"Estoppel only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the statements and the tenant's answers and record its own reliance; none can answer for the tenant. With none given the Record makes one link."New value: +"Estoppel and rent_roll only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the package and record its own reliance; none can answer for the tenant. For an estoppel with none given the Record makes one link; for a rent roll the party named in to has a link already and these are additional."
  4. Changed9 schema fields changed
    • changedInput schema / properties / items / items / properties / fact_ids / description
      Previous value: -"The ids of the facts in the package this item rests on. Each fact must carry a source quote, page and document sha256."New value: +"The ids of the facts in the package this item rests on. Each fact must carry a source quote, page and document sha256. Only an estoppel statement the tenant alone can confirm (tenant_to_confirm true) may have none."
    • changedInput schema / properties / items / items / properties / fact_ids / minItems
      Previous value: -1New value: +0
    • addedInput schema / properties / items / items / properties / needs_tenant_value
      Added value: +{
      +  "description": "Estoppel: true when the tenant must state the figure or date itself (for example the date rent is paid through); the tenant's answer then carries its own version.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / items / items / properties / number
      Added value: +{
      +  "description": "Estoppel: the statement's number in the certificate.",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / items / items / properties / tenant_to_confirm
      Added value: +{
      +  "description": "Estoppel: true for a statement with no lease source that only the tenant can confirm. It has no fact_ids.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / items / items / properties / text
      Added value: +{
      +  "description": "Estoppel: the statement as the tenant reads and answers it (estoppel_prepare package_items[].text).",
      +  "maxLength": 700,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"What is being confirmed."New value: +"What is being confirmed. estoppel: the statements from estoppel_prepare, answered by the tenant and then open to a lender or buyer through relying_parties."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "expense_reconciliation",
      -  "fact_confirmation"
      -]New value: +[
      +  "expense_reconciliation",
      +  "fact_confirmation",
      +  "estoppel"
      +]
    • addedInput schema / properties / relying_parties
      Added value: +{
      +  "description": "Estoppel only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the statements and the tenant's answers and record its own reliance; none can answer for the tenant. With none given the Record makes one link.",
      +  "items": {
      +    "maxLength": 120,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / properties / approval_confirmed / description
      Previous value: -"true only after that person has been shown everything and said in this conversation that it may be sent. Anything else refuses."New value: +"Confirms that the person named in approved_by reviewed every item, both figures, the quote and page behind each, the calculation and the recipient, and approved sending. The tool refuses unless it is true."
    • changedInput schema / properties / approved_by / description
      Previous value: -"The full name of the person at the sender who approved sending this. Never invent it and never use the model's name: ask."New value: +"The full name of the person at the sender who reviewed every item and approved sending this package. Recorded with the package and shown to the counterparty."
  6. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses that a send cannot be recalled, that it refuses without approved_by and approval_confirmed, that it refuses packages failing fact_package_verify or a non-verifying attestation, and precisely how real versus test mode changes what is recorded. It also explains what the record stores (facts, quotes, pages, SHA-256 digests, no documents, no IP address) and that signer/time/consent-version are captured for estoppel.

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

Conciseness3/5

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

The core purpose is front-loaded, and most sentences carry distinct information (test mode, attestation, estoppel, relying parties). However, it is a single dense block of roughly 700 words with repetition (attestation and the estoppel flow are each explained twice), which makes it hard to scan for an agent under context pressure.

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 13-parameter, deeply nested mutation tool with no output schema, the description covers the missing return contract (package id, digest, link_for_counterparty, status_link_for_sender, recorded_as, test_mode, message) and the preconditions, attestation rules and signature flow. Nothing essential for correct invocation appears absent.

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 description coverage is 100%, so every parameter is already documented in the schema, including accept_theirs/state_ours, approved_by, attestation and relying_parties. The description reinforces the workflow meaning of those fields but largely restates the schema rather than adding new semantics, so the baseline 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?

The first sentence gives a concrete verb and resource ('Send a fact package to another firm for confirmation through the FactLot record') plus the outcome ('get back a link for them'). It is clearly distinguishable from fact_package_create, fact_package_verify and fact_package_status, which are named in the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description routes the agent explicitly: expense reconciliation uses facts from doc_verify_facts or doc_abstract_lease, the package from fact_package_create, the calculation from calc_cam_reconciliation; estoppel uses estoppel_prepare items; rent_roll uses rent_roll_certify. It also states when relying_parties applies and directs the agent to fact_package_status to read answers later, which is explicit alternative-routing.

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.