Skip to main content
Glama

check_recency

Reads a markdown table of URLs and CSS selectors, extracts dates from each page, and flags entries older than a specified threshold to identify stale content.

Instructions

URL과 CSS 선택자를 담은 마크다운 표 파일을 읽어, 각 URL에서 선택자로 뽑은 텍스트를 날짜로 해석하고 stale_after_months 기준으로 판정한다.

표 파일은 파이프(|) 마크다운 표여야 하며, 최소한 다음 두 컬럼이 필요하다 (대소문자 무시, 영문/국문 모두 허용):

  • URL 컬럼: "URL" 또는 "url"

  • 선택자 컬럼: "추출셀렉터" 또는 "selector"

선택자는 브라우저의 document.querySelector와 동일한 CSS 선택자 문법을 쓴다. 값이 비어 있으면 실제 접속을 시도하지 않고 '수동확인필요(선택자없음)'을 반환한다 — 목록이 JS로 렌더링되어 정적 요청으로 못 읽는 경우도 마찬가지다. 이런 경우는 에이전트가 브라우저로 한 번 열어 선택자를 찾아 update_page_cache로 기록해야 한다.

반환: [{콘텐츠영역, URL, 최신게시일, 판정, 경과일, 비고}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
cache_fileYes
stale_after_monthsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the markdown table format requirements, CSS selector syntax, the behavior when selector is empty (returns a specific string without network attempt), and the JS-rendered case. It also mentions the return format, making behavior transparent.

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 a few sentences, front-loaded with the core purpose, and includes necessary operational details without excessive length. It is well-structured and easy to parse.

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?

For a tool that reads a file and checks recency, the description covers input format, edge cases (empty selector, JS-rendered), and return structure. However, it leaves parameter semantics for timeout and stale_after_months unexplained, and does not describe possible values of '판정' (judgment) field, though an output schema may cover that. Slightly incomplete but adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description must compensate. It explains cache_file format in detail (markdown table with URL and selector columns, case-insensitive, Korean/English allowed). However, it does not explain timeout or stale_after_months beyond their names, leaving ambiguity about meaning and units. Partial compensation only.

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 reads a markdown table file containing URLs and CSS selectors, extracts text from each URL via the selector, interprets it as a date, and judges recency based on stale_after_months. This is a specific verb+resource and distinguishes from siblings like check_links and update_page_cache.

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 explicitly explains when the tool cannot be used (empty selector or JS-rendered content) and instructs the agent to use update_page_cache after browser inspection. It doesn't explicitly compare with check_links, but the distinct purpose makes usage clear.

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

Deploy Server

Other Tools