Skip to main content
Glama

Mews MCP

by code-rabi

getAllAccountingItems

Retrieve all accounting items (charges, payments, etc.) from the Mews MCP server using specific filters like IDs, date ranges, or states. At least one filter is required to fetch the data.

Instructions

Returns all accounting items (charges, payments, etc.) based on filter parameters. REQUIRED: At least one of the following filters must be specified: AccountingItemIds, RebatedItemIds, ClosedUtc, ConsumedUtc, or UpdatedUtc.

Input Schema

NameRequiredDescriptionDefault
AccountingCategoryIdsNoFilter by accounting category IDs
AccountingItemIdsNoFilter by specific item IDs (one of the required filters)
BillIdsNoFilter by bill IDs
ClosedUtcNoDate range filter for when items were closed (one of the required filters)
ConsumedUtcNoDate range filter for item consumption (one of the required filters)
CreatedUtcNoDate range filter for item creation
CustomerIdsNoFilter by customer IDs
LimitationNoPagination settings
RebatedItemIdsNoFilter by rebated item IDs (one of the required filters)
StatesNoFilter by item states
UpdatedUtcNoDate range filter for when items were last updated (one of the required filters)

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "AccountingCategoryIds": { "description": "Filter by accounting category IDs", "items": { "type": "string" }, "maxItems": 1000, "type": "array" }, "AccountingItemIds": { "description": "Filter by specific item IDs (one of the required filters)", "items": { "type": "string" }, "maxItems": 1000, "type": "array" }, "BillIds": { "description": "Filter by bill IDs", "items": { "type": "string" }, "maxItems": 1000, "type": "array" }, "ClosedUtc": { "description": "Date range filter for when items were closed (one of the required filters)", "properties": { "EndUtc": { "description": "End of closed date range (ISO 8601)", "type": "string" }, "StartUtc": { "description": "Start of closed date range (ISO 8601)", "type": "string" } }, "type": "object" }, "ConsumedUtc": { "description": "Date range filter for item consumption (one of the required filters)", "properties": { "EndUtc": { "description": "End of consumption date range (ISO 8601)", "type": "string" }, "StartUtc": { "description": "Start of consumption date range (ISO 8601)", "type": "string" } }, "type": "object" }, "CreatedUtc": { "description": "Date range filter for item creation", "properties": { "EndUtc": { "description": "End of creation date range (ISO 8601)", "type": "string" }, "StartUtc": { "description": "Start of creation date range (ISO 8601)", "type": "string" } }, "type": "object" }, "CustomerIds": { "description": "Filter by customer IDs", "items": { "type": "string" }, "maxItems": 1000, "type": "array" }, "Limitation": { "description": "Pagination settings", "properties": { "Count": { "description": "Maximum number of items to return", "type": "number" }, "Cursor": { "description": "Pagination cursor for next page", "type": "string" } }, "type": "object" }, "RebatedItemIds": { "description": "Filter by rebated item IDs (one of the required filters)", "items": { "type": "string" }, "maxItems": 1000, "type": "array" }, "States": { "description": "Filter by item states", "items": { "type": "string" }, "type": "array" }, "UpdatedUtc": { "description": "Date range filter for when items were last updated (one of the required filters)", "properties": { "EndUtc": { "description": "End of update date range (ISO 8601)", "type": "string" }, "StartUtc": { "description": "Start of update date range (ISO 8601)", "type": "string" } }, "type": "object" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/code-rabi/mews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server