Skip to main content
Glama
Dataverse MCP Server

Dataverse MCP Server

by Ajscheuer

dataverse_query_records

Retrieve multiple Microsoft Dataverse table records using OData filters, column selection, sorting, paging, and related-entity expansion.

Instructions

Query multiple records from a Dataverse table with OData filters

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table": "<table>"
    },
    "name": "dataverse_query_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum number of records to return (optional)
skipNoNumber of records to skip (optional)
countNoInclude total count in response (optional)
tableYesThe name of the Dataverse table (e.g., "contacts", "accounts")
expandNoRelated entities to expand (optional)
filterNoOData filter expression (optional, e.g., "firstname eq 'John'")
selectNoComma-separated list of columns to select (optional)
orderbyNoOData orderby expression (optional, e.g., "createdon desc")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it never states that this is a read-only operation, how paging interacts with top/skip, whether there is a default or maximum page size, or what the response shape looks like. Only 'query' hints at read semantics.

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?

A single short sentence with no filler and the resource stated up front. It is efficient, though so terse that it borders on under-specification rather than tightness.

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

Completeness2/5

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

For an eight-parameter query tool with no annotations and no output schema, one sentence leaves major gaps: paging behavior, default result limits, and what the returned records contain are all unaddressed. An agent must infer all operational behavior from the schema alone.

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 coverage is 100%, so every parameter including top, skip, count, expand, filter, select, and orderby is already documented in the schema. The description adds only the general notion of OData filtering, which the schema states more precisely with examples.

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 gives a specific verb (query), a specific resource (records from a Dataverse table), and the mechanism (OData filters). The word 'multiple' implicitly separates it from the singular dataverse_read_record sibling, though that contrast is never stated outright.

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

Usage Guidelines3/5

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

Usage is only implied: 'multiple records' suggests bulk retrieval versus a single-record read, but the description never states when to prefer this over dataverse_read_record or dataverse_list_tables, nor any prerequisites or exclusions.

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