Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

list_resource_scopes

Lists the permissions (scopes) of a Logto API resource by resource ID, with optional search and pagination.

Instructions

List the permissions (scopes) of 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": "list_resource_scopes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
searchNoSearch query
page_sizeNo
resourceIdYesAPI resource ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

C2.7/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 behavioral burden. It implies a read-only listing but says nothing about pagination, ordering, what happens with an invalid resourceId, or required permissions. For a tool with page/page_size parameters, the absence of any pagination behavior disclosure is a real gap.

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 zero filler, and the key noun is stated early. Its brevity is a virtue structurally, though the thinness is penalized under other dimensions rather than this one.

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?

With no annotations, no output schema, four parameters at 50% coverage, and pagination present in the schema, one sentence is not enough. The description should at minimum explain paging behavior and the resourceId requirement to let an agent call it correctly.

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 only 50%: 'page' and 'page_size' have no descriptions at all, and the description adds nothing about pagination, defaults, or result-window semantics. The phrase 'of a Logto API resource' loosely maps to resourceId but adds no meaning beyond the schema's 'API resource ID'.

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: 'List the permissions (scopes) of a Logto API resource.' An agent can tell this returns scope objects tied to one resource rather than listing resources themselves. It stops short of naming sibling alternatives such as create_resource_scope or assign_role_scopes, so it doesn't actively differentiate.

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 guidance: no prerequisites (does the resource need to exist?), no note that a resourceId is mandatory, and no pointer to related sibling tools. The only signal is the phrase 'of a Logto API resource', from which scoping is inferred.

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