Skip to main content
Glama
@pixelvault-dev/local-mcp

@pixelvault-dev/local-mcp

List images

list_images

Retrieve images from a PixelVault project, newest first, with pagination, custom metadata filters, and full-text search over AI descriptions.

Instructions

List images in your PixelVault project, most recent first (GET /v1/images), paginated via page/per_page; optional metadata filters by custom metadata and q searches AI descriptions. Image CDN URLs support on-the-fly transforms via query params — e.g. ?w=400&fit=cover (resize/crop), ?fmt=webp (format), ?segment=foreground (AI background removal → transparent PNG), and effects like ?blur=30&saturation=0&rotate=90. Or call transform_image to build a valid transform URL for you. PDFs are forced downloads and reject transforms. See https://pixelvault.dev/docs/transforms/.

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

Input Schema

NameRequiredDescriptionDefault
qNoFull-text search over the AI description (alt text, caption, OCR text) of images uploaded with describe=true, best match first, e.g. "invoice 4821". Words are ANDed; quote phrases; -word excludes.
pageNoPage number (default 1).
metadataNoOnly images whose custom metadata contains every key/value given, e.g. {"env":"prod"} (exact match; nested objects match by containment).
per_pageNoItems per page (default 20, max 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.8.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / metadata
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Only images whose custom metadata contains every key/value given, e.g. {\"env\":\"prod\"} (exact match; nested objects match by containment).",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Full-text search over the AI description (alt text, caption, OCR text) of images uploaded with describe=true, best match first, e.g. \"invoice 4821\". Words are ANDed; quote phrases; -word excludes.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose real behavior: default sort order, pagination model, the PDF-forced-download / transforms-rejected exception, and how CDN URLs behave. It omits things an agent might want for a read tool — what the response payload looks like and whether listing is scoped to the whole project or a workspace.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first clause is front-loaded and tight, but roughly half the text is a catalog of transform query-param examples (?w, ?fmt, ?segment, ?blur, ?rotate) that belong to transform_image rather than to listing images. That bloat dilutes the operative guidance for this tool.

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 4-parameter, all-optional list tool with no output schema and no annotations, the description covers listing, sorting, pagination, both filters, and a pointer to the transform helper. What remains uncovered — response shape and auth/scope requirements — is modest but non-zero.

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% and each parameter already carries a rich description, including defaults, max values, and search syntax. The description's mention of `page`/`per_page`, `metadata`, and `q` largely restates the schema rather than adding new semantics, so the baseline 3 applies.

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 images in your PixelVault project'), plus the ordering guarantee ('most recent first') and the backing endpoint (GET /v1/images). Combined with the filter/search clauses, an agent can tell exactly what this does versus list_audio/list_videos and versus the transform-specific sibling.

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?

Gives concrete routing: use `metadata` for custom-metadata filtering, `q` for AI-description search, and 'Or call transform_image to build a valid transform URL for you' names an explicit alternative with the condition that selects it. It stops short of stating when NOT to use this tool (e.g., single-asset retrieval via get_image).

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