Skip to main content
Glama
Logto MCP Server

Logto MCP Server

by kdunin

update_resource

Update a Logto API resource by ID with partial changes to its name or access token lifetime; the resource indicator is immutable.

Instructions

Update a Logto API resource by ID (partial update). The indicator cannot be changed.

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": "update_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAPI resource ID
nameNo
accessTokenTtlNoAccess token lifetime in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add two real facts: the operation is partial (unspecified fields are left alone) and the indicator is immutable. It omits error behavior for a bad ID, whether the updated object is returned, and any permission requirements, so it is only partly adequate for a mutation tool.

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?

Two short sentences, front-loaded with the operation and scope, then the one hard constraint. Nothing is wasted and nothing needs reordering.

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 small three-parameter partial-update tool with no output schema and no annotations, the description covers the essentials: what it does, the update mode, and the single immutability constraint. Remaining gaps (return value, error cases) are modest at this complexity.

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 coverage is 67%: id and accessTokenTtl are documented, name is not. The description adds no field-level meaning, but the immutability note usefully explains why 'indicator' is absent from the schema, so it is not purely redundant. A 3 baseline fits a middle-coverage schema.

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 ('Update a Logto API resource by ID') plus the update mode ('partial update'), which is enough to separate it from create_resource, delete_resource, and get_resource. It stops short of explicitly naming those siblings, but the resource scope 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 Guidelines3/5

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

'Partial update' implies you only need to supply the fields you want changed, which is useful context. There is no explicit when-to-use guidance versus create_resource or other update_* tools, and no stated prerequisites such as required permissions or what happens with an unknown ID.

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