mcp-azure-tablestorage

query_table

⚠️ WARNING: This tool returns a limited subset of results (default: 5 items) to protect the LLM's context window. DO NOT increase this limit unless explicitly confirmed by the user.

Query data from an Azure Storage Table with optional filters.

Supported OData Filter Examples:

  1. Simple equality: filter: "PartitionKey eq 'COURSE'" filter: "email eq 'user@example.com'"
  2. Compound conditions: filter: "PartitionKey eq 'USER' and email eq 'user@example.com'" filter: "PartitionKey eq 'COURSE' and title eq 'GDPR Training'"
  3. Numeric comparisons: filter: "age gt 25" filter: "costPrice le 100"
  4. Date comparisons (ISO 8601 format): filter: "createdDate gt datetime'2023-01-01T00:00:00Z'" filter: "timestamp lt datetime'2024-12-31T23:59:59Z'"

Supported Operators:

  • eq: Equal
  • ne: Not equal
  • gt: Greater than
  • ge: Greater than or equal
  • lt: Less than
  • le: Less than or equal
  • and: Logical and
  • or: Logical or
  • not: Logical not

Input Schema

NameRequiredDescriptionDefault
filterNoOData filter string. See description for examples.
limitNoMaximum number of items to return in response (default: 5). Note: Full query is still executed to get total count.
selectNoArray of property names to select. Example: ["email", "username", "createdDate"]
tableNameYesName of the table to query

Input Schema (JSON Schema)

{ "properties": { "filter": { "description": "OData filter string. See description for examples.", "type": "string" }, "limit": { "default": 5, "description": "Maximum number of items to return in response (default: 5). Note: Full query is still executed to get total count.", "type": "number" }, "select": { "description": "Array of property names to select. Example: [\"email\", \"username\", \"createdDate\"]", "items": { "type": "string" }, "type": "array" }, "tableName": { "description": "Name of the table to query", "type": "string" } }, "required": [ "tableName" ], "type": "object" }

You must be authenticated.

Other Tools