Skip to main content
Glama

docs_script_scope

Get scope hints and matching manual pages for an Ignition scripting scope to identify valid script contexts and related documentation before writing or editing scripts.

Instructions

Return scope hints and matching manual pages for an Ignition script scope.

Args: scope: Existing scripting scope such as perspective_component. version: Docs version.

Returns: Scope objects plus matching docs search results.

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": {
      "scope": "<scope>"
    },
    "name": "docs_script_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
versionNo8.3

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses that it returns 'Scope objects plus matching docs search results', which is useful, but it never states that this is a read-only/non-mutating docs lookup, whether the version must match an available docs set, or what happens with an unknown scope or version.

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 docstring is short and front-loaded with the purpose sentence, then Args/Returns. The Args block partly restates schema titles, but the whole thing is compact and wastes little space.

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?

With only two parameters, one required, and an output schema present, the description need not detail return shapes. However, the near-total absence of schema descriptions means the definition leaves the agent guessing which scope strings are valid, which matters for correct invocation.

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 0% – the properties are bare titles ('Scope', 'Version') – so the description must compensate. It adds real meaning for scope via the concrete example 'perspective_component', but never lists valid scope values, and 'Docs version' adds nothing over the schema's title and default of 8.3.

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 states a specific verb and resource: return scope hints and matching manual pages for an Ignition script scope. An agent can tell this is a documentation-lookup tool scoped to script scopes, distinct from a general docs search, though it never names a sibling to contrast with.

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 explicit when-to-use guidance: nothing says to call this when you already know a scope name (e.g. perspective_component) versus using docs_search or docs_expression_function for broader lookups. The only hint is 'Existing scripting scope', which describes the input rather than the call condition.

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