Skip to main content
Glama

Delete site record

delete_site_record
DestructiveIdempotent

Delete one record from a collection (moderation). Records are otherwise append-only and immutable. Scoped to a site you can edit.

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": {
      "site_id": "<site_id>",
      "record_id": "<record_id>"
    },
    "name": "delete_site_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site that owns the record
record_idYesThe id of the record to delete
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely non-redundant context: records are otherwise append-only and immutable, meaning this tool is the sole exception path, and the action is limited to sites the caller can edit. It does not say whether the deletion is recoverable or what happens on a failed delete.

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, front-loaded with the action and resource, then the immutability caveat, then the permission scope. Every sentence carries information an agent needs and none repeats the schema or the annotations.

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 destructive, annotation-documented write with no output schema, the description covers what is deleted, why this path exists, and the permission boundary. It leaves out failure modes and irreversibility, which an agent performing moderation deletions would reasonably want, keeping it just short of complete.

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%, with site_id, record_id and the workspace_id fallback behavior fully documented in the schema, so the baseline of 3 applies. The description only reinforces the site-edit scoping constraint and adds no new detail about record_id or workspace_id beyond what the schema already gives.

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?

States a specific verb and resource: delete one record from a collection. The word 'record' distinguishes it from the delete_site / delete_collection / delete_folder siblings, which operate on containers. It stops short of naming an alternative for bulk deletion, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

'(moderation)' signals the intended context for using this exception path, and 'Scoped to a site you can edit' is a stated precondition. There is no explicit when-not to call it or a named alternative (e.g. a bulk or admin delete tool), so usage is implied rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.