Skip to main content
Glama

Pinin

Server Details

Restore, colorize and upscale old photographs. Enterprise plan required, one credit per restoration.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
Pinin-ai/pinin-mcp
GitHub Stars
0
Server Listing
Pinin-MCP
ChatGPT
–
Claude
–

TDQS

A4.5/5.0

Scored across 8 tools

Disambiguation4/5

Each tool maps to a distinct resource+action, and the descriptions explicitly disambiguate the risky pairs (get_restoration vs list_restorations, get_account vs get_usage). The only mild overlap is get_restoration returning signed URLs while download_restoration re-signs them, but the descriptions call this out directly.

Naming Consistency5/5

All eight tools use a uniform `pinin_verb_noun` pattern (get_, list_, cancel_, download_, restore_) with a consistent server prefix. The single non-get/list verb, pinin_restore_photo, still fits the verb_noun convention.

Tool Count5/5

Eight tools is well within the sweet spot and every one earns its place: queue, read, list, cancel, download, plus account, usage and mode introspection. Nothing looks like filler or a redundant alias.

Completeness4/5

The lifecycle is covered end to end: queue a job, poll or sweep for status, cancel before processing, download results, and inspect account/usage/modes. Minor gaps exist (no explicit retry of a failed job beyond re-queueing, no delete/expire of old jobs), but these are workable around.

Available Tools

8 tools
pinin_cancel_restorationCancel a restorationAInspect

Cancel a restoration that has not started processing. A queued job has not been charged, so cancelling costs nothing and refunds nothing; once the pipeline has picked it up the call fails with too_late_to_cancel and the credit stands. Check pinin_get_restoration first when the state is unknown. Writes job state — with pinin_restore_photo it is the only tool that changes anything.

Inputs: id (required). Returns: The cancelled restoration document, same shape as pinin_get_restoration with st…

pinin_download_restorationDownload a restored photoA
Read-only
Inspect

Get the signed URL for a finished photograph, valid about an hour, with expires_at so you know when it lapses. image: "restored" (default) is the repaired file; "original" is the file that was sent in. Call it only once a job is completed — a pending, processing or failed job has nothing to download, and re-reading a completed job already returns the same URLs. Read-only and free: it re-signs the link, not the credits, and does not touch the job.

Inputs: id (required), image. Returns: A signed download link.

pinin_get_accountAccount, plan and limitsA
Read-only
Inspect

Read the account behind the key: plan tier and status, credit balance, batch cap, concurrency, the key's requests per minute, the monthly cap and spend so far, and how many keys are active. Read it before queueing a large batch to size the request, and after a plan or balance failure — it stays readable on an empty balance, so a blocked account can see why. Read-only and free. For per-day history use pinin_get_usage.

Inputs: no named parameters. Returns: The account, its plan and the limits that apply to the calling key.

pinin_get_restorationGet a restorationA
Read-only
Inspect

Read one restoration by id: status (pending, processing, completed, failed), mode, credits charged, the failure detail when it failed, when the files expire, and signed image URLs plus a share link once it completes. Call it after pinin_restore_photo, waiting at least the retry_after seconds the response carries; to follow several jobs, sweep pinin_list_restorations with updated_since instead of polling each id. Read-only and free. An unchanged pending job may answer from its weak ETag without a body.

Inputs: id (required). Returns: One restoration document, with the same fields pinin_restore_photo returns.

pinin_get_usageUsage analyticsA
Read-only
Inspect

Read usage analytics for the last days: totals for requests, errors, restorations and credits; the current month's credits used and balance; a per-key breakdown; and a per-day series. Use it to explain a spend, a spike in errors or a quiet account; use pinin_get_account for the current limits and balance on their own. Read-only and free.

Inputs: days. Returns: Usage totals, the current month, a per-key breakdown and a per-day series.

pinin_list_modesAvailable restoration modesA
Read-only
Inspect

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.

Inputs: no named parameters. Returns: The modes available to the account.

pinin_list_restorationsList restorationsA
Read-only
Inspect

List the account's restorations, newest first, one page at a time, with has_more and the next_cursor / next_cursor_id pair for the following page. Filter by status or mode, or pass updated_since to collect every job that changed since the instant your poller last ran — that is the reconciliation sweep, and it replaces tracking ids. Use this instead of pinin_get_restoration when following more than one job; use pinin_get_restoration for the full document of a single id. Read-only and free.

Inputs: mode, limit, status, updated_since, +2 more. Returns: One page of restoration documents, newest first.

pinin_restore_photoRestore a photographAInspect

Queue photographs for restoration — damage repair, colorization, deblurring, upscaling — on the account behind the key. Send one photo as a public https image_url (preferred) or as image_base64, or up to 100 with images. Costs one credit per image, charged when the job settles and refunded automatically if it fails. Returns the new job in pending and does not wait: read the result with pinin_get_restoration. Pass idempotency_key when a retry must not charge twice, and dry_run: true to price a request without spending. Not for reading, listing or cancelling existing jobs — those are pinin_get_restoration, pinin_list_restorations and pinin_cancel_restoration.

Inputs: mode, seed, images, dry_run, +5 more. Returns: Either a `restoration` document (one job queued, or the first of a batch) or, w…

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.