Skip to main content
Glama

get_urban_environment

Retrieve air quality, temperature, humidity, and noise levels at KORAIL urban stations by station name. Choose a specific metric or get all measurements.

Instructions

도시철도 역사 환경측정 정보 조회 (공기질·온도·습도·소음).

measure: air_quality(공기질·미세먼지·CO2) / temperature(온도) / humidity(습도) / noise(소음도) / all(전체) station_name: 역명. operator: 운영기관 코드/명(선택). 주의: 환경측정기는 일부 운영기관·역에만 설치되어 데이터가 없을 수 있다 (특히 소음도). 측정값에는 측정일시(msmtDttm)가 함께 온다.

[답변 지침] _meta의 '데이터수정일'(KRIC 데이터 최종수정 시점, 측정성 데이터는 '측정시점')을 근거로 데이터 시점을 알리되, 수정일에 따라 톤을 달리하라.

  • 최근(약 2년 이내, 예 2025~2026): 답변 끝에 '데이터는 OOOO년 기준'을 간결히 한 줄만. 경고 문구나 고객센터 전화번호를 따로 나열하지 마라.

  • 오래됨(2019~2021 등): 한 줄 고지에 더해 '최신 현황과 다를 수 있어 운영기관 확인 권장'을 딱 한 번만 덧붙여라. 전화번호는 사용자가 묻거나 응급·안전 관련일 때만. 여러 데이터셋을 함께 보여줄 땐 가장 오래된 수정일 기준으로 한 번만 고지하면 된다. 시점 고지·주의 문구를 답변 안에서 반복하지 마라. 결과가 비어 있으면 지어내지 말고 '해당 데이터 없음'을 분명히 알려라.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
measureNoall
operatorNo
station_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that data may be absent for some operators/stations, and that measurement timestamps (msmtDttm) accompany values. However, it does not mention error behavior, response structure, authentication, or rate limits. The extensive answer-guideline section addresses response tone but not core behavioral aspects. It adds some value beyond a bare description but lacks depth.

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

Conciseness3/5

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

The core description is concise (one line), but it is followed by a long 'answer guidelines' section that instructs how to phrase responses based on data freshness. This is more about assistant behavior than tool invocation, adding significant verbosity. While structured and purposeful, it dilutes the focus and is longer than necessary for a tool description.

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

Completeness4/5

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

Given the presence of an output schema (which likely covers response structure), the description adequately explains inputs, data availability caveats, and measurement timestamp inclusion. It also provides guidance on handling empty results ('해당 데이터 없음'). Missing details like authentication or pagination are minor given the schema and the tool's scope. Overall, it is sufficiently complete for correct invocation.

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 0%, requiring the description to compensate. It explicitly explains 'measure' with enumerated values (air_quality, temperature, humidity, noise, all) and their meanings, and clarifies 'station_name' and 'operator' (optional). This is sufficient for an agent to populate parameters correctly, though it could be more detailed about operator code formats.

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?

States a clear verb and resource: '도시철도 역사 환경측정 정보 조회' (retrieval of urban railway station environment measurement info). It lists the specific measures (air quality, temperature, humidity, noise) and distinguishes itself from sibling tools like get_urban_train_environment and get_urban_surroundings by focusing on environmental measurements. The purpose is unambiguous and specific.

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?

Provides no guidance on when to use this tool versus alternatives. It mentions a caution about data availability (some operators/stations have no sensors) but does not indicate when this tool is preferred over siblings (e.g., get_urban_surroundings or get_urban_train_environment). No exclusions or alternative conditions are given.

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

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/lovelyquality/korail-mcp'

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