Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

delete_resource

Delete a Logto API resource by ID and remove its associated permissions to keep API access definitions current.

Instructions

Delete a Logto API resource by ID, with its permissions.

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": {
      "id": "<id>"
    },
    "name": "delete_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAPI resource ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full disclosure burden. It usefully reveals that the deletion is cascading (permissions are removed too), which is real behavioral value, but it says nothing about irreversibility, required permissions/authorization, or what happens if the resource is still referenced by applications or roles.

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?

One compact sentence with the cascade detail front-loaded and no wasted wording. Nothing is padded or buried.

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 simple one-parameter destructive tool with no output schema, the definition covers the essential identity and cascade effect. It is not fully complete: a destructive operation with no annotations should warn about permanence and any dependency constraints before an agent commits.

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?

There is a single parameter documented at 100% schema coverage ("API resource ID"), so the schema already handles semantics. The description's "by ID" adds nothing beyond it, which meets the baseline 3 for full schema coverage.

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 description gives a specific verb and resource ("Delete a Logto API resource by ID") plus the cascade scope ("with its permissions"), which is more informative than the bare name. It does not explicitly distinguish itself from the closely related delete_resource_scope sibling, so it stops short of a 5.

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?

There is no when-to-use or when-not-to-use guidance, no mention of the sibling delete_resource_scope for removing a single permission, and no prerequisites or preconditions. Usage is only implied by the verb.

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