Skip to main content
Glama
tschoonj

xraylib MCP Server

by tschoonj

CS_FluorLine_Kissel_Radiative_Cascade

Calculates fluorescence line cross sections including radiative cascade effects, using Kissel data in cm2/g. Requires atomic number, line name, and photon energy.

Instructions

Calculate the fluorescence line cross section with radiative cascade using Kissel (cm2/g).

Args: Z: Atomic number (1-120) line: Line name, e.g. "KL3_LINE", "KA_LINE" E: Photon energy in keV

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
EYes
ZYes
lineYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose behavior beyond the calculation, such as error handling, input validation (e.g., Z range 1-120 not enforced in schema), or whether the tool is safe/read-only. No side effects or dependencies are mentioned.

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

Conciseness4/5

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

The description is short and to the point, with a clear function statement followed by parameter definitions. It avoids fluff but could be more structured, e.g., separating the main purpose from args. The example line names are useful.

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

Completeness3/5

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

Given the complexity of the physics domain and numerous sibling tools, the description is incomplete. It does not explain what 'radiative cascade' means, how to choose between this and similar tools, or what the output contains (though an output schema exists). For a specialist, it may suffice, but for AI agents it's insufficient.

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?

The description adds meaning to all three parameters: Z is atomic number 1-120, line gives examples like 'KL3_LINE', and E is in keV. Schema coverage is 0%, so this compensates. However, it lacks details on accepted line formats or units for E beyond mention.

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 clearly states the tool calculates fluorescence line cross section with radiative cascade using Kissel, and gives units (cm2/g). It distinguishes from sibling tools like CS_FluorLine_Kissel (without cascade) and CS_FluorLine_Kissel_Nonradiative_Cascade by specifying 'radiative cascade'. Examples of line names are provided.

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?

No guidance on when to use this tool versus its numerous siblings (e.g., CS_FluorLine_Kissel_Cascade, CSb_FluorLine_Kissel_Radiative_Cascade, etc.). The description lacks context on prerequisites, assumptions, or exclusions.

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/tschoonj/xraylib-mcp-server'

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