Limits

Generated from the exported limits object of @sezzlee/xml-mcp 0.5.1.

Every limit is fixed at build time; none is configurable. A call that would cross one either answers with truncated: true and a way to continue, or fails with resource_limit.

Files and parsing

LimitValue
Largest document the server opens50 MB
Largest document read whole into memory; a larger one is read in chunked mode8 MB
Largest single record in chunked mode8 MB
Records of a chunked document held parsed at once1
Time one parse may take before it fails with resource_limit2 s
Deepest element nesting an address may reach128
Bytes at the start of a document scanned for its encoding and a DOCTYPE before parsing64 KB
Parse requests that may wait at once before a new one fails with resource_limit5
Parsed documents kept in memory between calls4
Documents the parse worker keeps alive, derived as twice documentCacheSize8
Directory entries list_documents walks before it reports scanTruncated5,000
Documents list_documents returns when maxResults is omitted50
Largest maxResults for list_documents200
list_documents calls that may run at once4

Responses

LimitValue
Largest serialized answer; a longer one is cut short and continues through nextCursor512 KB
Longest text, in characters, returned for one node or value512
Repeated-element candidates describe_document returns when maxPaths is omitted20
Largest maxPaths for describe_document200
Elements describe_document counts before it stops and reports the survey incomplete5,000
Nodes read_node returns when maxNodes is omitted50
Largest maxNodes for read_node200

Search and XPath

LimitValue
Matches find_in_document returns when maxResults is omitted50
Largest maxResults for find_in_document200
Nodes find_in_document examines before it stops and reports the search incomplete50,000
Longest select_xpath expression, in characters4,096
Prefix bindings one select_xpath call may pass32
Node-set members select_xpath returns when maxResults is omitted50
Largest maxResults for select_xpath200

Records and aggregation

LimitValue
Rows project_records returns when maxRows is omitted50
Largest maxRows for project_records200
Columns one project_records or aggregate_document call may declare32
Steps in one column's ancestors path16
Values one cell returns under onMultiple: "list"16
Conditions in one where filter16
Values in one in condition64
Metrics in one aggregate_document call16
Groups aggregate_document returns when maxGroups is omitted50
Largest maxGroups for aggregate_document200
Records one project_records or aggregate_document call examines before it stops and reports the scan incomplete50,000