Skip to main content
Glama

Available restoration modes

pinin_list_modes
Read-only

Lists available photo restoration modes with IDs, names, effects, and credit costs so you can choose the right mode or explain options to users.

Instructions

List the restoration modes available to this account, each with its id, display name, what it changes in the photograph and its credit cost. Read it before choosing mode for pinin_restore_photo, or to explain the options to a user in their own words. Takes no arguments, costs nothing and does not touch any job.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pinin_list_modes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNoOne row per mode: `{ id, name, description, credits }`; `id` is the value pinin_restore_photo expects in `mode`.
objectNoAlways `list`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world). The description adds useful context beyond them: no arguments, no credit cost, and no job is touched, which matters for an account-scoped catalog call. It stops short of documenting rate limits or pagination, so not a full 5.

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 sentences, front-loaded with the resource and returned fields, followed by the usage trigger. Every clause earns its place with no restatement of the name.

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

Completeness5/5

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

For a zero-argument, read-only catalog lookup with an output schema and full annotation coverage, this is complete: what it returns, when to call it, and its cost/side-effect profile are all stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters and 100% schema coverage, so the schema carries the burden; the description still states "takes no arguments" to preempt an agent hunting for inputs. Baseline 4 is correct here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List the restoration modes available to this account") and enumerates the returned fields: id, display name, effect on the photograph, credit cost. This clearly separates it from sibling tools that operate on restorations rather than on the mode catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit trigger: read it before choosing `mode` for pinin_restore_photo, or when explaining options to a user. That names the dependent tool and the decision it informs, leaving nothing to inference.

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