Skip to main content
Glama

List Wiki page resources

wiki_resources_list
Read-onlyIdempotent

A page's resources — attachments AND grids — as {type, item} envelopes, auto-paginated.

Instructions

A page's resources — attachments AND grids — as {type, item} envelopes, auto-paginated.

The unified single-pass listing over what attachments_list and pages_grids_list expose separately (drains next_cursor internally). Capped at the configured item cap unless limit is given; narrow with q (title) or types (attachment,grid).

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": {
      "page_id": "<page_id>"
    },
    "name": "wiki_resources_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional title search filter.
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
limitNoMax resources (omitted: the configured cap).
typesNoComma-separated kinds to include: ``attachment,grid``.
page_idYesNumeric page id whose resources to list.
order_byNoSort field.
order_directionNoSort direction for ``order_by``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. First observedv0.67.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds genuine behavioral detail beyond that: internal draining of next_cursor (auto-pagination) and the item-cap/limit interaction. It does not, however, describe what happens on an invalid page_id or how the envelope items differ per type.

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?

Front-loaded with the core purpose and the key sibling contrast in the first two sentences, with filtering guidance last. Slightly noisy with double-backtick markup and an awkward line break mid-sentence, but no sentence is wasted.

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 an eight-parameter paginated list tool with no output schema, the description covers pagination model, cap behavior, filtering, and when to choose it over siblings — enough to call it correctly. It stops short of describing error/edge behavior, which keeps it from a 5.

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 description coverage is 100%, so all eight parameters are already documented, including the cap semantics of `limit` and the title-search meaning of `q`. The description restates those semantics (cap, q=title, types=attachment,grid) rather than adding new meaning, so the baseline of 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 (list) and resource (a page's resources = attachments AND grids), the return envelope shape ({type, item}), and explicitly distinguishes itself from the two sibling tools (attachments_list, pages_grids_list) whose functionality it unifies.

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?

Makes clear this is the unified single-pass alternative to attachments_list and pages_grids_list, so an agent can choose it when it wants both kinds at once; it also explains narrowing via q/types. It does not explicitly say 'prefer the specialized tool when you only need one kind', but the contrast is strong enough for correct selection.

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

Deploy Server

Other Tools