Skip to main content
Glama

HDPhotoHub MCP by usefulapi

Set media order

hdphotohub_set_site_media_order
Idempotent

WRITE: set the sort order of the media of a site. Pass media ids in the wanted order. API: PUT /site/mediaorder.

Input Schema

NameRequiredDescriptionDefault
midYesMedia ids in the wanted order.
sidYesSite id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description adds useful context beyond the annotations by labeling the operation 'WRITE' and naming the PUT endpoint. But it does not explain the effect on media not included in the array, permission requirements, or whether the supplied order replaces all existing ordering.

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?

Three short sentences, with the write nature and core action front-loaded. The API endpoint is included compactly and every sentence contributes without fluff.

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 simple two-parameter write tool with complete schema descriptions and no output schema, the description supplies enough to call it correctly. The main remaining gap is the lack of explanation about whether the ordering is full replacement or partial.

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 both parameters are already documented in the input schema. The description repeats that media ids should be passed in the wanted order but adds no syntax or constraint details beyond the 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?

The description states a specific verb and resource: 'set the sort order of the media of a site.' That is clear enough to separate it from metadata-oriented siblings like hdphotohub_update_media, but it does not explicitly name or contrast any sibling.

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?

It tells the agent to pass media ids in the wanted order, which is usage guidance for invocation. However, it does not say when to use this rather than hdphotohub_update_media, nor does it state any exclusions or prerequisites.

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.