Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

create_entity

Creates a custom Dataverse table with a primary name column and optional additional columns, returns the new table URL, and identifies any columns that failed.

Instructions

Create a custom table with its primary name column and, optionally, additional columns; add_attribute adds columns later and create_record adds records. Returns the new table's URL; a name that is taken is an error. If a column fails, the error says which columns were created and how to add the rest. The table lands in the Default Solution, not in yours, so list_entities filtered by your solution, by default or by its solution field, does not show it.

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": {
      "logical_name": "<logical_name>",
      "display_name": "<display_name>",
      "display_collection_name": "<display_collection_name>"
    },
    "name": "create_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
has_notesNoEnable notes and attachments on the table (default: false). Cannot be turned off once enabled.
attributesNoAdditional attributes to create with the entity
descriptionNoTable description
display_nameYesDisplay name
logical_nameYesLogical name with publisher prefix (e.g. 'contoso_newtable')
has_activitiesNoEnable activities on the table (default: false). Cannot be turned off once enabled.
ownership_typeNoOwnership type (default: UserOwned)
primary_attribute_nameNoLogical name for primary name attribute (default: '{prefix}_name')
display_collection_nameYesPlural display name
primary_attribute_display_nameNoDisplay name for primary name attribute (default: 'Name')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • addedInput schema / properties / has_activities
      Added value: +{
      +  "description": "Enable activities on the table (default: false). Cannot be turned off once enabled.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / has_notes
      Added value: +{
      +  "description": "Enable notes and attachments on the table (default: false). Cannot be turned off once enabled.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed2 schema fields changedv0.7.1
    • addedInput schema / properties / attributes / items / properties / global_option_set
      Added value: +{
      +  "description": "Picklist only: bind the column to an existing Global OptionSet by its set name (e.g. 'contoso_sourceset') so the column shares one org-wide list instead of a private copy. Mutually exclusive with options.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / attributes / items / properties / options / description
      Previous value: -"Options for Boolean (2 items: false=0, true=1) or Picklist types"New value: +"Options for Boolean (2 items: false=0, true=1) or Picklist types. Creates a Local OptionSet owned by this one column; mutually exclusive with global_option_set."
  4. First observedv0.5.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does most of it: it discloses the return value (the new table's URL), the name-collision error, partial-failure semantics where the error names which columns were created and how to add the rest, and the solution-placement side effect. It stops short of stating permission requirements or whether the operation is retryable, which keeps it from a 5.

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?

Three sentences, front-loaded with the core action and followed by routing, error behavior, and the solution caveat in roughly descending importance. Every sentence carries information, though the Default Solution sentence is dense enough that it takes a second read.

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

Completeness4/5

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

For a 10-parameter mutation with no annotations and no output schema, the description covers what is returned, how failures surface, and a non-obvious placement side effect. The remaining gap is authorization and idempotency behavior, which an agent would want before calling a create tool.

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% and the schema documents defaults, enums, and mutual exclusions in detail, so the description only needs to frame the concept of a primary name column plus optional additional columns. It does that, but adds no syntax, format, or constraint detail beyond what the schema already provides. Baseline 3 applies.

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?

States a specific verb and resource — 'Create a custom table with its primary name column and, optionally, additional columns' — and immediately distinguishes it from the column-adding and record-adding siblings. An agent can tell what this creates and how it differs from add_attribute and create_record without opening a schema.

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?

Explicitly routes the agent: use add_attribute to add columns later and create_record to add records, and it flags the post-creation verification pitfall — the table lands in the Default Solution, so list_entities filtered by your solution will not show it. That is exactly the alternative-selection and follow-up guidance an agent needs.

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