Skip to main content
Glama

delete_a_role

Deletes a role in a Vika space using a space ID and role ID, with optional destructive confirmation to prevent accidental removal.

Instructions

Delete a role in a space.

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": {
      "spaceId": "<spaceId>",
      "roleId": "<roleId>"
    },
    "name": "delete_a_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleIdYes
spaceIdYesSpace ID, usually starts with spc.
confirm_destructiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false but leave destructiveHint unset, so the description carries the burden of warning that deletion is permanent, but it does not. It also omits the fact that a confirm_destructive flag exists in the schema, a meaningful behavioral detail for a destructive mutation, and says nothing about permissions or what happens to members still assigned to the role.

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

Conciseness3/5

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

A single front-loaded sentence with no padding, but the brevity comes at the cost of under-specification rather than tightness. Nothing is wasted, yet key facts are missing.

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

Completeness1/5

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

For a destructive mutation with three parameters, low schema coverage, and no output schema, this description is not sufficient. An agent cannot safely confirm destruction, understand the confirmation flag, or know the constraints on role deletion.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, with just spaceId documented. The description names the role and space concepts but adds no meaning for roleId formatting or for confirm_destructive, which is the one parameter an agent most needs explained on a delete tool.

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

Purpose3/5

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

"Delete a role in a space" gives a specific verb and resource, so the agent knows the target. It does not distinguish this from siblings such as delete_a_member or delete_a_team, or clarify whether a role is scoped to a space or global, leaving the scope statement ambiguous.

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

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no mention of alternatives (update_a_role or delete_a_member), and no preconditions such as whether the role must be empty before deletion. The agent must infer all routing logic from the name.

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