Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_ray_tracer_engine_get_light_configurations

Get light configurations for PCB ray tracing to adjust lighting parameters in the active EDA window. Returns settings for a specified light source.

Instructions

pcb_RayTracerEngine.getLightConfigurations(lightName: string) -> Promise 获取光线追踪光源配置 returns: 光源配置

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.3/5.0
Behavior1/5

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

With no annotations, the description carries full behavioral burden. It does not state whether the operation is read-only, whether it requires the ray tracer engine to be initialized first, or any side effects. The only behavioral clue is the 'get' in the name, which implies read-only but is not explicitly disclosed.

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

Conciseness2/5

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

The description is extremely short, but that is due to under-specification rather than concise efficiency. It mixes code syntax and Chinese text without clear structure or separation of concerns. Every sentence could be more informative, and there is no organized presentation.

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

Completeness1/5

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

For a tool within a ray tracer engine domain, with no output schema and no annotations, the description is entirely inadequate. It does not explain the return format (beyond '光源配置' meaning 'light source configuration'), the nature of the parameter, or how this tool fits with sibling ray tracer tools. An agent would be guessing on how to call it correctly.

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

Parameters2/5

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

The description includes the signature 'lightName: string' which at least names the parameter, but it does not explain what a light name is, what valid values look like, or whether it is required. The input schema only shows a generic 'args' array with a generic description, leaving the actual semantics of lightName undefined. The description adds minimal value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description merely restates the tool name in code form ('pcb_RayTracerEngine.getLightConfigurations') and its Chinese translation '获取光线追踪光源配置' (get ray tracing light source configuration). It provides no elaboration on what light configurations are, how they differ from render configurations, or any concrete use case. This is essentially a tautology.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus related siblings such as eda_pcb_ray_tracer_engine_get_render_configurations or set_render_configurations. No context, prerequisites, or alternative routing is provided.

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