Skip to main content
Glama

get_slide

Read-onlyIdempotent

Read a single slide from a deck by its id without modifying the file. Use it to inspect current slide fields before updating that slide.

Instructions

Read one slide from a deck file by its id (e.g. s5) without changing anything. Returns {ok, path, index, slide, slide_count, slide_ids}: the slide object as stored, its 0-based position and all slide ids. Read-only. Call it before update_slide to see the current fields.

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": {
      "deck": "<deck>",
      "slide_id": "<slide_id>"
    },
    "name": "get_slide"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesDeck file inside decks/ (e.g. decks/studio-universal-demo-v2.json)
slide_idYesSlide id as stored in the deck (e.g. s5)

Output Schema

NameRequiredDescriptionDefault
okYes
pathYes
indexYes
slideYes
writtenNo
slide_idNo
slide_idsYes
slide_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.5

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds that the slide is returned 'as stored' and specifies the 0-based index and slide_count semantics. It does not discuss failure modes (missing deck, unknown slide id) or whether unknown ids error versus return null.

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?

Three short sentences, front-loaded with the core action, then return shape, then the workflow tie-in. The return-field enumeration is somewhat redundant given an output schema exists, but it is compact and does not bury the important information.

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 two-parameter read tool with full schema coverage, annotations and an output schema, the description covers action, scope, return shape and workflow placement. Minor gaps remain around error behavior for unknown slide ids or invalid deck paths.

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% and both parameters (deck path inside decks/, slide id like s5) are fully documented in the schema. The description only echoes the id example, adding no format or constraint details beyond the structured fields, 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 ('Read one slide from a deck file by its id') with the scoping constraint that it targets a single slide, not a whole deck. The read-only framing and the named sibling update_slide make it easy to distinguish from the mutation tools in the catalog.

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 explicit sequencing guidance: 'Call it before update_slide to see the current fields,' which tells the agent exactly when this tool belongs in a workflow. It stops short of stating when not to use it or naming read alternatives for whole-deck inspection, so it is clear but not exhaustive.

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