Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

delete_resource_scope

Removes a permission scope from a Logto API resource by resource ID and scope ID, so you can clean up or revise resource access definitions.

Instructions

Delete a permission (scope) from a Logto API resource.

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": {
      "resourceId": "<resourceId>",
      "scopeId": "<scopeId>"
    },
    "name": "delete_resource_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeIdYesScope ID
resourceIdYesAPI resource ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. For a destructive mutation it says nothing about irreversibility, required permissions, idempotency, or what happens to role assignments referencing the scope — the one thing it does convey (removal from a specific resource) is already implied by the name.

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

Conciseness4/5

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

A single front-loaded sentence with no filler. It is efficient but borders on under-specification given that this is a destructive operation.

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

Completeness2/5

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

A destructive mutation with no annotations, no output schema, and no explanation of effects or permission requirements. The definition supplies the target but leaves out everything an agent would need to call it safely and predict the result.

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?

Both parameters are fully described in the schema (resourceId = API resource ID, scopeId = Scope ID) at 100% coverage, so the baseline is 3. The description adds no format, provenance, or lookup guidance beyond what the schema already states.

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?

Specific verb plus resource: "Delete a permission (scope) from a Logto API resource" tells the agent exactly what is removed and scopes it to the parent resource, which implicitly distinguishes it from the sibling delete_resource (that one removes the resource itself). It stops short of 5 because it never resolves whether the scope entity is destroyed or merely detached from the resource.

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?

No when-to-use guidance, no prerequisite or exclusion conditions, and no mention of alternatives such as update_resource or remove-style siblings. The agent must infer the call context entirely from the name.

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