Skip to main content
Glama
mwhesse

Dataverse MCP Server

by mwhesse

Convert to AutoNumber

convert_to_autonumber

Convert text columns to AutoNumber format in Microsoft Dataverse, generating sequential identifiers using customizable patterns like PREFIX-{SEQNUM:4}-{RANDSTRING:3} for consistent record numbering.

Instructions

Converts an existing text column to an AutoNumber column by adding an AutoNumberFormat. The column must be a String type with Text format and should be empty or contain compatible data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
autoNumberFormatYesAutoNumber format to apply using placeholders like "PREFIX-{SEQNUM:4}-{RANDSTRING:3}"
columnLogicalNameYesLogical name of the existing text column to convert
entityLogicalNameYesLogical name of the table containing the column
maxLengthNoNew maximum length if needed (ensure enough room for format expansion)
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that this is a mutation operation ('Converts') and specifies prerequisites (column type/format/data compatibility), which is valuable. However, it doesn't mention potential destructive effects on existing data, permission requirements, error conditions, or what happens to the column's properties beyond format addition.

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 perfectly concise with two sentences that each earn their place: the first states the core purpose, the second adds crucial prerequisites. It's front-loaded with the main action and wastes no words.

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?

For a mutation tool with no annotations and no output schema, the description provides adequate basic information about what the tool does and prerequisites. However, it lacks details about behavioral outcomes (what exactly gets modified, error handling, confirmation of success) that would be helpful given the tool's complexity and potential data impact.

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%, so the schema already documents all parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema descriptions, maintaining the baseline score of 3 for adequate but not enhanced parameter documentation.

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 the specific action ('Converts an existing text column to an AutoNumber column') and resource ('by adding an AutoNumberFormat'), distinguishing it from siblings like 'create_autonumber_column' (which creates new) or 'update_autonumber_format' (which modifies existing). It precisely defines the transformation operation.

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

Usage Guidelines4/5

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

The description provides clear context for when to use it ('The column must be a String type with Text format and should be empty or contain compatible data'), which implicitly distinguishes it from creation tools. However, it doesn't explicitly mention when NOT to use it or name specific alternative tools like 'create_autonumber_column' for new columns.

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

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