Skip to main content
Glama

inspect

Read-onlyIdempotent

Read-only. what='documents' lists the photos open in this session by image id. what='uploads' lists your uploads (from any of your signed-in connections) newest first, with their upload:<id> handles, names, sizes, when each was uploaded (uploaded_at), the image ids of those already open (open_as) and expires_at. A photo that has not been opened yet is listed with checked: false and no width or height; its size is read when open_photo first opens it. A photo the user says they already sent shows up in what='uploads'. With previews true it also shows a small picture of each of the newest 8, so you can find the one the user means ("the dog one") without opening every photo. what='fonts' lists the fonts installed on this server, optionally narrowed by filter. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.

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": {
      "what": "<what>"
    },
    "name": "inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYes'documents': open image ids. 'uploads': your uploads. 'fonts': installed font names.
filterNowhat='fonts' only: case-insensitive substring to narrow the font names by.
previewsNowhat='uploads' only: also return a small picture (512 px) of each of the newest 8 uploads, to find the one the user means.

Output Schema

NameRequiredDescriptionDefault
whatNo
fontsNo
totalNo
defaultNo
samplesNo
uploadsNo
returnedNo
documentsNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / previews / description
      Previous value: -"what='uploads' only: also return a small picture (256 px) of each of the newest 8 uploads, to find the one the user means."New value: +"what='uploads' only: also return a small picture (512 px) of each of the newest 8 uploads, to find the one the user means."
    • addedOutput schema / properties / uploads / items / properties / preview_skipped
      Added value: +{
      +  "description": "previews: true only: why this upload has no preview.",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / previews
      Added value: +{
      +  "description": "what='uploads' only: also return a small picture (256 px) of each of the newest 8 uploads, to find the one the user means.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / uploads / items / properties / open_as
      Added value: +{
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / uploads / items / properties / preview
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / uploads / items / properties / uploaded_at
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the description's opening 'Read-only.' is largely redundant. It does add real behavior beyond annotations: uploads are newest-first, unopened photos return `checked: false` with no width/height and are measured lazily when `open_photo` first opens them, and uploads/open photos are scoped to this server while photos from other connectors stay with their connector.

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?

The 'Read-only.' lead is front-loaded and the three modes are covered in sequence with no filler sentences; nearly every clause carries information. There is mild redundancy where the `documents` and `fonts` modes restate the schema enum descriptions, which keeps it from a 5.

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?

An output schema exists, so return values need not be spelled out, yet the description still explains the notable fields and the lazy-measurement behavior, which is the main non-obvious trait. Minor gaps remain, such as any cap or pagination on the uploads listing, but nothing essential for correct invocation is missing.

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 100%, so all three parameters are already documented in the schema, including the case-insensitivity of `filter` and the 512 px / newest-8 behavior of `previews`. The description adds downstream meaning (the returned field names `upload:<id>`, `open_as`, `checked`, `expires_at`) but little that changes how a parameter is supplied, so the baseline 3 holds.

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-adjacent purpose (inspect/list) and enumerates all three modes precisely: open photo ids, uploads with `upload:<id>` handles, and installed fonts. It is clear what the tool does, though it never contrasts itself with potentially confusable siblings such as `overview` or `check_listing`, leaving sibling differentiation to inference.

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

Usage Guidelines4/5

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

Each `what` value is tied to a concrete situation, and `previews` is explicitly justified ('so you can find the one the user means ("the dog one") without opening every photo'), which is genuine when-to-use guidance. It stops short of explicit exclusions or naming alternatives, so a 4 rather than a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources