Skip to main content
Glama

get_instance

Retrieves an instance's test bin, loaded preset, and rejected presets so you can resolve order-based references such as 'the third melody' and learn from rejections.

Instructions

An instance's test bin (1-based, in the order the user sees it, with full patches), the loaded preset, and presets the user rejected. Use it to resolve "the third melody" or to learn from rejections.

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": {
      "instance": "<instance>"
    },
    "name": "get_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceYes
include_patchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description should carry the full behavioral burden. It discloses that test bins are 1-based and include full patches, and mentions loaded and rejected presets, but it does not state read-only semantics, permissions, or error behavior.

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?

The description is short and front-loads the returned content, with no wasted sentences. The first sentence is a dense noun phrase rather than a complete statement, which slightly reduces clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter retrieval tool with no output schema and no annotations, the description gives useful return-content context. However, it leaves parameter semantics and full response structure underspecified, so an agent still has gaps to fill.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain both parameters. It hints at patches via 'with full patches,' but does not explain the required instance identifier or clarify how include_patches controls patch inclusion.

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 clearly identifies the resource being retrieved: an instance's test bin, loaded preset, and rejected presets. It is not verb-led and does not explicitly contrast with list_instances, but the content is specific enough for an agent to understand the tool's purpose.

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?

It gives two concrete usage contexts: resolving references like 'the third melody' and learning from rejected presets. It does not name alternatives or describe when not to use this tool, but the included guidance is clear and actionable.

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