Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

create_resource_scope

Creates a permission (scope) on a Logto API resource, letting you define named access rights such as read:items.

Instructions

Create a permission (scope) on 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>",
      "name": "<name>"
    },
    "name": "create_resource_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPermission name, e.g. read:items
resourceIdYesAPI resource ID
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about permissions required, whether creation is idempotent, what happens if the scope name already exists, or what the response contains. The single word 'Create' implies mutation but discloses none of the operational behavior an agent needs for a write operation.

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?

One front-loaded sentence with no filler. It is efficient, though its brevity borders on under-specification rather than tightness.

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?

No output schema exists, so the description would ideally state what is returned, and with no annotations and a mutation behavior, the definition leaves real gaps. It covers the who/what but nothing about side effects, preconditions, or return values.

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 description coverage is 67%, and the description adds essentially no meaning beyond it: 'permission (scope)' loosely restates the 'name' property already documented as 'Permission name, e.g. read:items'. The optional 'description' property is undocumented in both places.

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 states a specific verb and resource ('Create a permission (scope) on a Logto API resource') and makes clear it is attaching a scope to an existing resource rather than creating the resource itself, which separates it from the sibling create_resource. It lacks any explicit naming of the sibling it should not be confused with, but the purpose is unambiguous.

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 guidance on when to use this tool versus create_resource, assign_role_scopes, or update_resource, and no prerequisites are stated (for example, that the target resource must already exist). The only implied usage comes from the noun phrase 'on a Logto API resource.'

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