Skip to main content
Glama

Resource use instructions

resource_use_instructions
Read-onlyIdempotent

Return the best safe next action for a mixed resource. Pass version to bind an immutable hosted release. Hosted skills expose explicit-consent exact native client install commands; upstream-only resources stay open-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExact mixed resource identifier.
versionNoOptional immutable hosted release version. When supplied, latest is never used.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
codeYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "code": {
      +      "const": "OK",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "maximum": 599,
      +      "minimum": 100,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "code",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "Optional immutable hosted release version. When supplied, latest is never used.",
      +  "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Resource id, for example github:obra/superpowers."New value: +"Exact mixed resource identifier."
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and idempotent. The description adds behavioral detail about version binding (immutable release) and resource-type-specific actions (explicit consent vs open-only), complementing annotations without contradiction.

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?

Two sentences, each serving a distinct purpose: first states the primary action, second clarifies parameter and behavior nuances. No wasted words.

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

Completeness5/5

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

Given the tool's complexity (mixed resource with two distinct behaviors), the description covers all necessary context. Output schema exists, reducing need for return value explanation. High schema coverage and annotations further support completeness.

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

Parameters5/5

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

With 100% schema description coverage, the description adds value by explaining that supplying version 'binds an immutable hosted release', which clarifies its semantic role beyond the schema's pattern and optionality.

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?

The description clearly states the tool returns 'the best safe next action for a mixed resource'. It distinguishes between hosted skills (exact install commands) and upstream-only resources (open-only), providing specificity beyond the sibling tools.

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?

The description explains when to use the version parameter and differentiates behavior for hosted vs upstream resources. However, it does not explicitly mention when not to use this tool or list alternatives like 'resource_detail' or 'fetch'.

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.