Skip to main content
Glama

Engine Heart

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden well: it discloses that data comes from local SQLite, requires no network, covers all 118 elements, and enumerates the returned fields. It also explains case-insensitive symbol matching and the no-query behavior, though it does not discuss limitations beyond the local dataset.

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 compact and front-loaded: the tool and dataset scope come first, followed by accepted query forms, return fields, the no-query case, and the local-data note. Every sentence contributes useful information without repetition.

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?

For a simple two-parameter lookup with no output schema, the description is sufficient: it covers the data source, accepted inputs, returned information, and behavior when no query is supplied. Nothing essential for correct invocation appears to be missing.

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 already 100%, but the description adds useful meaning beyond the schema by specifying accepted query forms, case-insensitivity for symbols, the atomic-number range 1–118, and that leaving query empty returns all elements. It does not further explain how limit interacts with exact versus fuzzy matches.

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 states a specific verb and resource (“元素周期表查询”) and immediately scopes it to all 118 elements in local data. It also distinguishes the lookup from calculation-oriented siblings such as study.chemistry_calc or study.balance_equation by focusing on retrieving element records.

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 clearly explains the supported lookup modes: Chinese name, element symbol case-insensitively, or atomic number 1–118, and notes that omitting query returns all elements. It does not explicitly name alternatives or when not to use this tool, so it stops short of full routing guidance.

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