Skip to main content
Glama
michsob

PowerPlatform MCP

Query Records

query-records

Query PowerPlatform Dataverse entity records using OData filter expressions. Retrieve targeted data by filtering on specific conditions to access precise information across environments.

Instructions

Query records using an OData filter expression

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityNamePluralYesThe plural name of the entity (e.g., 'accounts', 'contacts')
filterYesOData filter expression (e.g., "name eq 'test'" or "createdon gt 2023-01-01")
maxRecordsNoMaximum number of records to retrieve (default: 50)
environmentNoEnvironment name (e.g. DEV, UAT). Uses default if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityNamePluralYes
filterYes
countYes
recordsYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With zero annotations provided, the description carries full behavioral disclosure burden but offers minimal detail. While 'Query' implies a read-only operation, the description doesn't confirm safety, disclose default limits (though maxRecords default is in schema), mention pagination behavior, or explain that OData syntax errors will cause failures.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise at six words with no filler. The single sentence efficiently conveys the core mechanism. However, given the tool's complexity (4 parameters, OData syntax requirements, multiple siblings), this brevity borders on under-specification rather than optimal information density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description identifies the OData querying paradigm, which is essential context. However, given the absence of annotations and the presence of many specialized retrieval alternatives, it inadequately contextualizes when this generic query tool is appropriate. The output schema covers return values, but operational scope remains under-explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, establishing a baseline of 3. The description mentions 'OData filter expression' which aligns with the filter parameter, but adds no semantic detail beyond the schema for entityNamePlural, maxRecords, or environment parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries records and specifies the OData filter mechanism. However, it fails to distinguish from the sibling 'get-record' tool (likely for single-record retrieval by ID) or clarify that this returns multiple records, which is implied by the entityNamePlural parameter but not stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance provided on when to use this generic query tool versus the many specific 'get-*' siblings (e.g., get-flows, get-solutions). No mention of prerequisites, performance considerations for large datasets, or when to prefer specific entity getters over this flexible but potentially slower query method.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/michsob/powerplatform-mcp'

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