Skip to main content
Glama

product_modules

Read-only

Returns the product structure for tagging tasks and bugs: modules (componentIDs link to the shared components list) and components; a module does not imply its components. desc and design (the main Figma frame: snapshotFID - snapshot, contextFID - layers) are returned only for items in IDs; query filters by name.

Input Schema

NameRequiredDescriptionDefault
IDsNoModule and component IDs to return with desc and design
queryNoCase-insensitive module or component name substring, in the language of the workspace data
productIDYesProduct ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and non-destructive, so the safety profile is covered. The description adds real behavioral semantics beyond that: desc and design are returned ONLY for items listed in IDs, and 'a module does not imply its components' is a non-obvious structural caveat an agent would otherwise get wrong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information-dense and front-loaded with the main return, but the single run-on sentence mixes return contents, structural caveats, and filter behavior with heavy abbreviation (snapshotFID, contextFID), which is not optimally scannable.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing return shape and does so reasonably (modules vs components, desc/design gated on IDs). Combined with annotations covering the read-only nature, it is largely complete, though the design/Figma fields remain opaque.

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 100%, so all three parameters are already documented. The description largely restates this (IDs controls desc/design return, query filters by name) rather than adding new format or syntax detail, so the baseline 3 applies.

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?

States a specific verb and resource ('Returns the product structure ... modules ... and components'), which clearly distinguishes it from siblings like product_list and product_context. The parenthetical jargon (componentIDs, snapshotFID/contextFID) muddies the read a little, but an agent can tell what this tool fetches.

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?

The description implies when it is useful ('for tagging tasks and bugs') and explains how IDs and query filter output, but never names or contrasts an alternative (product_context, product_list, module_update). Usage is inferred rather than stated.

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.

Resources