Skip to main content
Glama
ryanmichaeljames

Dataverse MCP Server

dataverse_list_audit

Read-onlyIdempotent

Query Dataverse audit logs with OData filters to retrieve records of data changes, including create, update, delete, and access events.

Instructions

Query the audit table with optional OData filters.

Returns audit records from the 'audits' entity set. Common columns:

  • auditid, createdon — record identity and timestamp

  • operation — 1=Create, 2=Update, 3=Delete, 4=Access, 5=Upsert

  • action — specific event code (e.g., 1=Create, 2=Update, 3=Delete, 64=User Access via Web, 65=User Access via Web Services)

  • objecttypecode — logical name of the audited entity (e.g., 'account')

  • _userid_value — GUID of the user who made the change

  • _objectid_value — GUID of the audited record

  • transactionid — groups related changes in one operation

Use dataverse_get_audit_details to fetch full before/after values for a specific audit record.

Note: requires auditing enabled on the org. If auditing is disabled, Dataverse may return an empty result set or an HTTP error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds that the tool requires auditing enabled and may return empty or error if disabled. It also explains the meaning of operation and action codes. This adds behavioral context beyond annotations.

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

Conciseness5/5

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

The description is concise and well-structured: a one-line summary, a bullet-like list of columns, usage guidance, and a prerequisite note. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given the presence of an output schema and rich annotations, the description covers the tool's purpose, parameters, usage context, and a related alternative. It is fully adequate for an AI agent to understand and invoke the tool correctly.

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?

The input schema already contains detailed descriptions for each parameter (e.g., filter examples, default values). The description provides an overview of common columns but does not add significant meaning beyond what the schema provides. Since schema coverage is effectively complete, a baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states it queries the audit table with OData filters and returns audit records. It lists common columns and distinguishes from the sibling tool dataverse_get_audit_details, which fetches detailed before/after values. The purpose is specific and unambiguous.

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

Usage Guidelines5/5

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

Description explicitly tells when to use this tool and when to use the alternative dataverse_get_audit_details. It also warns that auditing must be enabled, and describes the consequence if disabled. This provides clear context and exclusions.

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/ryanmichaeljames/dataverse-mcp'

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