openom-mcp

v0.1.5
openom-mcp Checked 2 days ago Published 3 months ago

openOM MCP server - deterministic tool surface over openom-core.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

om_inspect

Read-only: classify + profile the document (§I OM-MCP-010). Any embedded payload it reports is a broker ASSERTION (opinion as of a date), never verified market truth. pdf: exactly one of {"path":...} (stdio), {"url":...} or {"blobId":...} (HTTP).

ParameterTypeDescription
pdf *
verifyOriginboolean

om_read

Read the broker-asserted openOM payload from a PDF - the cheap consumer path (§I OM-MCP-011). The payload is an ADVERTISEMENT: the broker's opinion of value, asserted by `assertedBy` as of `assertedDate`. `verification.hashValid: true` means the payload is UNALTERED since embed - NOT that its figures are true. Ground on it as "the broker asserted X, unaltered, as of when," and always surface assertedBy + assertedDate + deal.noiType (in-place vs pro-forma); never present figures as verified fact. A hash-mismatched payload is returned as null (never as trusted). Return…

ParameterTypeDescription
pdf *
verifyOriginboolean

om_extract_text

Read-only, paginated text + best-effort tables (§I OM-MCP-012). max_chars is clamped to a server ceiling; page through the rest with nextCursor (never a silent truncation). pdf: exactly one of {"path":...} (stdio), {"url":...} or {"blobId":...} (HTTP).

ParameterTypeDescription
pdf *
cursor
maxCharsinteger
pageRange

om_extract_images

Read-only: manifest + local paths, never inline bytes (§I OM-MCP-013). pdf: exactly one of {"path":...} (stdio), {"url":...} or {"blobId":...} (HTTP).

ParameterTypeDescription
pdf *
includeVectorboolean
outDir
pageRange

om_validate

Validate an openOM payload - two-tier report (§I OM-MCP-014). A report is success even with errors. Checks the payload's INTERNAL consistency (schema + arithmetic like NOI÷price vs cap rate) - it does NOT check market truth. Validity means well-formed and self-consistent, never that the broker's asserted opinion of value is correct.

ParameterTypeDescription
payload *object
tolerances

om_embed

The only mutating tool: validate-then-embed, refuse on schema errors (§I OM-MCP-015). The source-document provenance hash is recorded automatically; assertedDate/assertedBy/ supersedes are payload FIELDS, not arguments. pdf: exactly one of {"path":...} (stdio), {"url":...} or {"blobId":...} (HTTP).

ParameterTypeDescription
payload *object
pdf *
badgeboolean
outPath

om_request_upload

Hosted-only: reserve a single-use presigned upload target for a PDF (§I, [OM-SEC-006]). Returns ``{blobId, presignedPut, expiresAt}``; the client PUTs bytes to ``presignedPut`` then passes ``{blobId}`` to any tool. On stdio there is no blob store → OM-IO-008.