Four bounded tools instead of raw SQL passthrough
Exposing raw SQL execution or dozens of auto-generated table endpoints overwhelms agent tool caches and makes deterministic policy enforcement impossible. Naditu keeps the MCP tool surface compact and typed so Claude, ChatGPT, coding harnesses and internal agents resolve business questions predictably.
Every tool request carries the caller’s verified OIDC identity (or workload identity for scheduled agents) and W3C traceparent header from the upstream client or gateway.
- Tool namesearchPurposeCross-object semantic and structured query across joined systemsRequired inputsquery, optional object_types, filters, limitDeterministic guaranteesApplies caller row policy, masks restricted columns, translates status codes
- Tool nameget_recordPurposeFetch one canonical object instance by business key or URIRequired inputsobject_type, record_idDeterministic guaranteesReturns governed fields, linked object summaries and active version id
- Tool namelineagePurposeInspect exact source tables, join predicates and freshness for a resultRequired inputsresult_id or object_type + record_idDeterministic guaranteesLists read replicas, declared vs. learned joins and dictionary versions used
- Tool nameexplain_policyPurposeDry-run or post-hoc trace of why fields were shown, masked or withheldRequired inputsprincipal (self or target in audit mode), query_or_actionDeterministic guaranteesOutputs matched IdP groups, row filters, masked columns and write-gate verdict
| Tool name | Purpose | Required inputs | Deterministic guarantees |
|---|---|---|---|
| search | Cross-object semantic and structured query across joined systems | query, optional object_types, filters, limit | Applies caller row policy, masks restricted columns, translates status codes |
| get_record | Fetch one canonical object instance by business key or URI | object_type, record_id | Returns governed fields, linked object summaries and active version id |
| lineage | Inspect exact source tables, join predicates and freshness for a result | result_id or object_type + record_id | Lists read replicas, declared vs. learned joins and dictionary versions used |
| explain_policy | Dry-run or post-hoc trace of why fields were shown, masked or withheld | principal (self or target in audit mode), query_or_action | Outputs matched IdP groups, row filters, masked columns and write-gate verdict |
search and get_record request/response schemas
When an assistant invokes search or get_record, Naditu resolves synonyms and learned links inside the ontology, executes read-only queries against your internal replicas, strips withheld rows and replaces unauthorized fields with explicit "masked" markers rather than silently dropping schema structure.
Explicit masking prevents the calling LLM from hallucinating that a field is zero or missing in the database—it knows the field exists and is restricted for the current role.
{
"jsonrpc": "2.0",
"id": "req_01948c2a",
"method": "tools/call",
"params": {
"name": "get_record",
"arguments": {
"object_type": "Order",
"record_id": "ORD-10482"
}
},
"result": {
"ontology_version": "v14",
"object_type": "Order",
"record_id": "ORD-10482",
"attributes": {
"customer": "Halvorsen Freight",
"region": "EMEA",
"due_date": "2026-06-11",
"status_code": 4,
"status_label": "shipped, not yet invoiced",
"quoted_price": "EUR 48200",
"unit_cost": "masked"
},
"linked_objects": {
"customer_ref": "CUST-2231",
"work_order_ref": "WO-8841"
}
}
}lineage and explain_policy contracts
Operational teams only trust an AI answer when they can see which tables produced it. Calling lineage returns the exact source systems, replica lag, join path and confirmed term entries behind any record.
Calling explain_policy evaluates the ontology’s policy graph without exposing restricted data, allowing security engineers and users to verify why a row was filtered or why a write action requires human sign-off.
{
"tool": "lineage",
"target": {
"object_type": "Order",
"record_id": "ORD-10482"
},
"ontology_version": "v14",
"sources": {
"crm": {
"table": "account",
"sync_mode": "CDC",
"freshness_seconds": 4
},
"erp": {
"table": "ORD_HDR, ORD_LIN, CUST",
"access": "read_replica",
"freshness_seconds": 2
},
"mes": {
"table": "WO_HDR",
"access": "read_replica",
"freshness_seconds": 5
}
},
"joins_applied": {
"crm_to_erp": "account.erp_code = CUST.CODE (learned, confirmed)",
"cust_to_order": "ORD_HDR.CUSTREF = CUST.REF (learned, confirmed)",
"order_to_line": "ORD_LIN.ORD_ID = ORD_HDR.ID (declared FK)",
"line_to_wo": "WO_HDR.LINREF = ORD_LIN.REF (learned, confirmed)"
},
"terms_applied": {
"ORD_HDR.STAT=4": "shipped, not yet invoiced (v13)"
}
}Plugging behind LiteLLM, Archestra and Kong
Enterprise IT teams often standardize on an MCP gateway or LLM proxy for centralized OAuth registration (including CIMD fetch-flood guards), rate limiting, token budgets and TLS termination. Gateways solve transport routing, but they do not know what ORD_HDR.STAT = 4 means or which cost columns belong to Finance.
Naditu sits cleanly behind LiteLLM, Archestra, Kong or internal agent harnesses as your governed operational domain server: the gateway forwards the verified OIDC subject token and W3C traceparent header, and Naditu enforces domain joins, row/column policies and ERP write gates.
Transport auth, rate limits & model routing
Terminates external client sessions, enforces OAuth / CIMD client policies, manages LLM provider keys and propagates W3C traceparent spans.
Semantic joins, row/field RBAC & ERP API gates
Resolves canonical objects over ERP/CRM/MES replicas, masks restricted columns per caller role and gates operational writes behind human approval.
Engineering deep dives
Related articles from the blog
MCP gateway vs enterprise AI ontology for ERP data
An MCP gateway routes tokens, rate limits, and tool lists, whereas an enterprise AI ontology resolves ERP joins, status codes, row RBAC, and write gates.
An MCP security checklist for enterprise IT
The NSA guidance on MCP security as a checklist for IT: nine controls to set before AI agents reach company systems, and the three we would do first.
CIMD vs DCR in MCP registration: what floods still remain
Client ID Metadata Documents (CIMD) end RFC 7591 DCR table bloat in MCP 2026-07-28, yet shift floods to outbound HTTPS fetches, PAR, and localhost callbacks.