Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

delete_entity_key

Delete an alternate key from a Dataverse table. The operation is disabled by default; enable it with DATAVERSE_ALLOW_DELETE and restart the server.

Instructions

Delete an alternate key from a table. This tool is disabled on this server: a call fails with a message on how to enable it. Setting DATAVERSE_ALLOW_DELETE=true and restarting the server turns it on.

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": {
      "entity_logical_name": "<entity_logical_name>",
      "key_logical_name": "<key_logical_name>"
    },
    "name": "delete_entity_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_logical_nameYesLogical name of the alternate key to delete
entity_logical_nameYesLogical name of the entity

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the non-obvious fact that the tool is off by default and how a call fails, which is genuinely valuable context, but it says nothing about the destructive and likely irreversible nature of dropping an alternate key, any dependency checks, or permission requirements.

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?

Three short sentences: purpose first, then the blocking constraint, then the remedy. Every sentence carries distinct information and nothing is redundant.

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 simple two-parameter delete with full schema coverage and no output schema, the definition covers purpose, availability state, and enablement. The remaining gap is the absence of any warning about irreversibility or side effects on dependent relationships, which matters for a delete operation.

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 both parameters are already self-documenting. The description adds no extra meaning about naming format, case sensitivity, or how to discover valid logical names, so the baseline of 3 applies.

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 first sentence gives a specific verb and resource ("Delete an alternate key from a table") and the parameter names in the schema confirm the scope is a single key on a single entity. It is clearly separable from add_entity_key and list_entity_keys by name alone, though the description never explicitly contrasts itself with them.

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 gives an unusually concrete usage constraint: the tool is disabled on this server and any call fails, with the exact environment variable and restart step needed to enable it. That is an effective when-not-to-use signal, but it stops short of naming alternatives (e.g., list_entity_keys to inspect existing keys) or stating prerequisites such as required permissions.

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