Skip to main content
Glama
Signal Lab

Signal Lab

by jafarSalim

vlc_los_gain

Compute line-of-sight DC gain for visible light links using a Lambertian LED and photodiode with concentrator. Input distance, angles, detector area, and concentrator index to get the link gain.

Instructions

Line-of-sight DC gain of a visible light link (Lambertian LED, photodiode with concentrator).

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": "vlc_los_gain"
  }
}

Input Schema

NameRequiredDescriptionDefault
fov_degNo
distance_mNo
incidence_degNo
irradiance_degNo
semi_angle_degNo
detector_area_cm2No
concentrator_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does state the physical model assumptions (LOS, Lambertian LED, photodiode with concentrator), which is useful, but it does not clarify deterministic pure-calculation behavior, applicable constraints, or output units.

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?

The description is a single compact sentence with no redundant wording, and it front-loads the key concept (line-of-sight DC gain). It is efficiently sized for a short calculation-tool description.

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

Completeness2/5

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

For a seven-parameter physics calculation with no annotations and 0% schema description coverage, the definition is not complete enough to guide correct invocation. The output schema helps with return values, but the description does not compensate for the missing parameter semantics and constraints.

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 schema has seven parameters with 0% description coverage. The description gives useful physical context that implicitly relates to LED semi-angle and concentrator index, but it does not explain the meaning, units, ranges, or effects of fov_deg, distance_m, incidence_deg, irradiance_deg, detector_area_cm2, or concentrator_index.

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 clearly identifies the quantity as line-of-sight DC gain for a visible light link and adds model context (Lambertian LED, photodiode with concentrator). It lacks an explicit verb such as "calculate" and does not directly differentiate from siblings, but the physical quantity is specific enough to distinguish it from BER, constellation, eye diagram, RF link budget, and spectrum tools.

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 guidance on when to use this tool versus alternatives, nor any stated context such as design-stage link budgeting versus post-processing. The tool name and description imply a gain calculation, but the description leaves usage entirely to inference.

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