Skip to main content
Glama

active_page

Retrieves the current OrCAD Capture schematic page's design, folder, page name, number, and metric for page identification; returns null values if the active window is not a schematic page.

Instructions

The page Capture shows in its active window: design, schematic folder, page name, page number, metric.

Capture has no safe query for this, so a 0.2 mm marker wire is drawn in the page corner and deleted again (the page is marked modified). All page values are null when the active window is not a schematic page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "active_page"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior5/5

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

Exceptional disclosure of behavior that no structured field conveys: because Capture has no safe query, a 0.2 mm marker wire is drawn and deleted, and the page is left marked modified. This explains why readOnlyHint is false for what looks like a pure getter, and alerts the agent to an observable side effect on the document.

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?

Three short sentences, front-loaded with the return values, followed by the side-effect rationale and the null guard. The 0.2 mm detail earns its place because it explains a physical marker the agent may later see in the schematic.

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?

No output schema exists, yet the description enumerates the returned fields and defines their null case, so return semantics are covered. It also supplies the one piece of complexity that matters (the write side effect) for a tool that otherwise appears to be a read.

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

Parameters4/5

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

Zero parameters, so the schema does the only work there is. The description spends its words on return-value semantics rather than parameters, which is the right allocation; nothing about parameters is missing or misleading.

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?

Names the exact resource and every value returned (design, schematic folder, page name, page number, metric), and bounds the scope with 'All page values are null when the active window is not a schematic page.' An agent knows precisely what it gets without consulting any schema, and the framing as 'the page Capture shows in its active window' separates it from list-oriented siblings.

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

Usage Guidelines3/5

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

Usage is only implied: it is the tool for reading the current page, and the null-behavior note hints at when not to bother. It never names an alternative such as list_pages or goto_page, and states no precondition (e.g. does a design need to be open?).

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