Skip to main content
Glama

Element Lookup

element_lookup

元素周期表查询(118 种元素全量本地数据):按中文名(如 氧、铁、金)、元素符号(如 O、Fe、Au,大小写不敏感)或原子序数(1-118)查询,返回原子序数、符号、中文名、相对原子质量、族/周期、元素类别与常见化合价。不传 query 时返回全部 118 种元素。数据为本地 SQLite,无需联网。

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

Input Schema

NameRequiredDescriptionDefault
limitNo模糊匹配时最多返回条数,默认 20
queryNo中文名 / 元素符号 / 原子序数;留空返回全部元素

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: local SQLite storage, no network required, complete 118-element coverage, case-insensitive matching, and the empty-query fallback behavior. It does not state read-only/safety characteristics, permissions, or performance expectations explicitly, leaving a small gap.

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 definition is front-loaded with scope, followed by input modes, return fields, and default behavior in a compact two-sentence form. There is mild redundancy between '全量本地数据' and the closing '数据为本地 SQLite,无需联网', but nothing is wasted at length.

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?

An output schema exists, so return-value documentation is not strictly required, yet the description still names the key fields. With only two simple parameters, full schema coverage, and the offline/data-source caveat disclosed, an agent has everything needed to call this correctly.

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?

Schema coverage is 100%, so a baseline of 3 applies, but the description adds real meaning beyond the schema: case-insensitivity for symbols, the 1-118 numeric range, and the concrete consequence of a null query (all 118 elements). The `limit` parameter and fuzzy matching behavior are only hinted at, not elaborated.

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 names a specific verb and resource: a periodic-table query over a full local dataset of 118 elements, lookupable by Chinese name, symbol, or atomic number (1-118), and it enumerates the returned fields. It does not explicitly contrast itself with the sibling calculators such as chemistry_calc or balance_equation, so it falls short of full sibling differentiation.

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?

It gives clear positive guidance on the three input modes (Chinese name, case-insensitive symbol, atomic number 1-118) and states that omitting `query` returns all 118 elements. There is no explicit when-not-to-use statement or pointer to an alternative tool, which keeps it below a 5.

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