Skip to main content
Glama

get_device_docs

Read-onlyIdempotent

Fetch the markdown companion documentation for one device, if present.

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": {
      "device": "<device>"
    },
    "name": "get_device_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesThe driver id that list_devices gives (e.g. 'korg/minilogue_xd.pencilresearch.fw-unknown'), or the device's short name (e.g. 'minilogue_xd'), which stands for its default driver.
user_idNoYour anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional.

Output Schema

NameRequiredDescriptionDefault
deviceYesThe id of the driver the docs are of.
has_docsYesFalse when no companion .md exists for the device.
markdownYesThe companion documentation, or a not-found message when has_docs is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / device
      Added value: +{
      +  "description": "The driver id that list_devices gives (e.g. 'korg/minilogue_xd.pencilresearch.fw-unknown'), or the device's short name (e.g. 'minilogue_xd'), which stands for its default driver.",
      +  "type": "string"
      +}
    • removedInput schema / properties / slug
      Removed value: -{
      -  "description": "Device slug, e.g. 'ableton' or 'minilab3'",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "slug"
      -]New value: +[
      +  "device"
      +]
    • addedOutput schema / properties / device
      Added value: +{
      +  "description": "The id of the driver the docs are of.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / slug
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "has_docs",
      -  "markdown"
      -]New value: +[
      +  "device",
      +  "has_docs",
      +  "markdown"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / user_id / description
      Previous value: -"Your anonymous osc-bridge id, if you kept it from an earlier session (see the server instructions). Optional."New value: +"Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description's added value is the 'if present' qualifier, warning that a device may have no companion doc and the call may return nothing useful. It says nothing about error behavior or whether a miss is an error versus an empty result.

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?

A single front-loaded sentence with no padding; the conditional 'if present' is placed where it is most useful. Nothing is wasted and nothing important is buried.

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?

With annotations covering safety, a full output schema, and 100% parameter coverage, the definition supplies nearly everything needed. The small gap is that the agent is not told how the optional user_id changes behavior or what a missing document looks like in the response.

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 the schema already explains both the driver-id and short-name forms plus the optional user_id. The description only says 'one device' and adds no format or resolution detail beyond what the schema provides, so the baseline of 3 applies.

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 names a specific verb ('Fetch') and resource ('markdown companion documentation for one device'), so it is immediately distinguishable from sibling getters like get_preset or get_contribution by resource type. It stops short of naming which sibling to use instead when docs are absent or how it relates to list_devices.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no routing to alternatives. The only usable hint is the conditional 'if present', which tells the agent the result may be empty but not what to do in that case.

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.