Skip to main content
Glama

Inspect COMP extensions, storage, and custom parameters

inspect_op_extensions_storage
Read-only

Inspect a COMP's storage dict, extension classes, and custom-parameter definitions. Verify scaffolded extensions or examine any COMP without using raw Python.

Instructions

Read-only: inspect what a COMP exposes — its Python storage dict (keys + values), its extension class descriptors (name, promoted flag, public members), and its custom-parameter definitions (page/name/style/default). Closes the inspect side of the reusable-component loop: use after scaffold_extension + add_custom_parameters to verify what was built, or call standalone to examine any COMP without resorting to raw Python. Returns structured data for agent code-path consumption. API names vary by TD build; the probe field records which attributes were reachable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesCOMP to inspect.
include_storageNoInclude the COMP's Python storage dict (keys + JSON-able values).
include_extensionsNoInclude extension classes + promoted members.
include_custom_parsNoInclude custom-parameter definitions (page/name/style/default).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFull path of the inspected COMP.
typeYesOperator type of the COMP (e.g. 'baseCOMP').
probeNoAPI-reachability map from the bridge — records which storage/extension/custom-par APIs were available on this TD build. UNVERIFIED: exact attribute names vary by build.
storageNoPython storage dict — keys and their JSON-serializable values (non-serializable values are stringified).
warningsYesPer-item problems that did not abort the inspection.
extensionsNoExtension class descriptors attached to the COMP.
custom_parsNoCustom-parameter definitions on the COMP, across all custom pages.
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false. The description adds valuable context beyond these: it notes return data is 'structured data for agent code-path consumption,' explains that 'API names vary by TD build,' and introduces the 'probe' field as a record of reachable attributes. This openly addresses the open-world variability hinted at by openWorldHint.

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?

Four sentences, front-loaded with the key safety qualifier 'Read-only', then listing the three inspection targets. Every sentence earns its place: usage guidance, return format, and API-variability caveat. No fluff or repetition.

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 four parameters, rich annotations, and an output schema, the description covers the essential context: what the tool does, when to use it (in the component-creation loop), what it returns, and the 'probe' fallback for varying API names. The output schema handles detailed return fields, so no further elaboration is needed.

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?

The input schema has 100% coverage with descriptive parameter comments, so the baseline is 3. The description restates some content (e.g., 'custom-parameter definitions (page/name/style/default)') but does not add new semantics about the path parameter or boolean flags beyond what the schema already provides. The mention of the 'probe' field concerns output, not parameters.

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 uses a specific verb ('inspect') and resource ('a COMP'), then specifies exactly what is inspected: Python storage dict, extension class descriptors, and custom-parameter definitions. This clearly distinguishes it from sibling tools like inspect_component_manifest or get_td_node_parameters by enumerating unique inspection targets.

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 gives explicit when-to-use guidance: 'use after scaffold_extension + add_custom_parameters to verify what was built, or call standalone to examine any COMP without resorting to raw Python.' It does not name specific alternative sibling tools for exclusion, but the usage context and the 'without raw Python' note clarify positioning.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasmaher-hash/touch-designer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server