WebRef (paid)
Web standards and time reference for agents: HTTP codes, retries, deadlines. Paid via x402.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"webref": {
"url": "https://webref.johnaio281.workers.dev/mcp"
}
}
}원격 엔드포인트
https://webref.johnaio281.workers.dev/mcpstreamable-http할 수 있는 일
도구 목록
도구 (14)
⚪http_status(code, detail)
Look up an HTTP status code: what it means, what the client must do, whether it is retryable, whether it is safe to replay, the defining RFC and the common causes. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"code": {
"description": "status code, e.g. 429",
"type": [
"number",
"string"
]
},
"detail": {
"default": "full",
"description": "summary = name and class only; decision = what the client should do",
"type": "string",
"enum": [
"summary",
"full",
"decision"
]
}
},
"required": [
"code"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢status_for_situation(situation)
Find the HTTP status code that matches a described situation, when the code is not known in advance — for example 'the caller is being rate limited' or 'upstream returned garbage'. ($0.005 per call)
입력 스키마
{
"type": "object",
"properties": {
"situation": {
"type": "string",
"description": "free text describing what went wrong"
}
},
"required": [
"situation"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢retry_advice(code, idempotent)
Decide how a client should react to a status code: retry with backoff, check the outcome before retrying, or do not retry. Includes a suggested backoff schedule. ($0.005 per call)
입력 스키마
{
"type": "object",
"properties": {
"code": {
"type": [
"number",
"string"
]
},
"idempotent": {
"default": true,
"description": "whether the request being handled is idempotent",
"type": "boolean"
}
},
"required": [
"code"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪mime_type(type, extension)
Look up a MIME type by full type or by file extension: the top-level type, what it is for, and the usual file extension. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"type": {
"description": "full type, e.g. application/json",
"type": "string"
},
"extension": {
"description": "extension, with or without the dot",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_mime_types(query, topLevel, limit)
List or search MIME types by top-level type or by keyword, for example image types or anything to do with calendars. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"topLevel": {
"description": "application, text, image, audio, video, font, model, multipart, message, example",
"type": "string"
},
"limit": {
"default": 50,
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡content_type_advice(contentType, endpointKind)
Check whether a Content-Type header matches what an endpoint kind expects, and say what to send instead when it does not. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"contentType": {
"type": "string",
"description": "the Content-Type header value"
},
"endpointKind": {
"type": "string",
"enum": [
"json",
"form",
"multipart",
"xml",
"text",
"binary"
],
"description": "what the endpoint expects"
}
},
"required": [
"contentType",
"endpointKind"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢http_method(method)
Describe an HTTP method: whether it is safe, whether it is idempotent, whether it carries a body, and what it is for. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "e.g. GET, POST, PATCH"
}
},
"required": [
"method"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢time_until(from, to)
How much time is between two instants: the direction, the total in every unit, and a day/hour/minute/second breakdown. Use it to compute a retry delay, a rate-limit reset, or whether a deadline has passed. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "start instant, ISO-8601, e.g. 2026-01-01T00:00:00Z"
},
"to": {
"type": "string",
"description": "end instant, ISO-8601"
}
},
"required": [
"from",
"to"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢describe_instant(at, timezone)
Describe an instant: its date, weekday and time in UTC and in Tehran local time (UTC+03:30), plus the Unix timestamp. Use it when a response carries a timestamp and the local date matters. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "the instant, ISO-8601, e.g. 2026-01-01T21:30:00Z"
},
"timezone": {
"default": "utc",
"description": "which timezone the caller cares about",
"type": "string",
"enum": [
"utc",
"tehran"
]
}
},
"required": [
"at"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪weekday_of(date, weekStartsOn)
Which day of the week a date falls on, and whether it is a business day. Use it before scheduling work or setting a deadline that lands on a weekend. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "the date, YYYY-MM-DD"
},
"weekStartsOn": {
"default": "sunday",
"description": "which day the week is considered to start on",
"type": "string",
"enum": [
"sunday",
"monday"
]
}
},
"required": [
"date"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢business_days_between(from, to)
Count the business days between two dates, excluding weekends. Use it to turn a calendar deadline into a working-day deadline. Public holidays are not excluded, so the count is an upper bound. ($0.005 per call)
입력 스키마
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "start date, YYYY-MM-DD"
},
"to": {
"type": "string",
"description": "end date, YYYY-MM-DD"
}
},
"required": [
"from",
"to"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡add_duration(at, amount, unit)
Add a duration to an instant and get the result, in UTC and in Tehran local time. Use it for a TTL, a lock expiry, or a token lifetime. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "the start instant, ISO-8601"
},
"amount": {
"type": "number",
"description": "how many units, may be negative"
},
"unit": {
"default": "seconds",
"description": "the unit of amount",
"type": "string",
"enum": [
"milliseconds",
"seconds",
"minutes",
"hours",
"days",
"weeks"
]
}
},
"required": [
"at",
"amount"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢convert_duration(value, from, to)
Convert a duration between units and get it in plain language. Use it to express a timeout in the unit the caller asked for, or to check whether a limit is seconds, minutes or milliseconds. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "the magnitude"
},
"from": {
"default": "seconds",
"description": "the unit of value",
"type": "string",
"enum": [
"milliseconds",
"seconds",
"minutes",
"hours",
"days",
"weeks"
]
},
"to": {
"default": "seconds",
"description": "the unit to convert into",
"type": "string",
"enum": [
"milliseconds",
"seconds",
"minutes",
"hours",
"days",
"weeks"
]
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪unix_time(date, timestamp)
Convert between a date and a Unix timestamp, in either direction. Use it when a payload carries one and the other is needed. ($0.003 per call)
입력 스키마
{
"type": "object",
"properties": {
"date": {
"description": "a date (YYYY-MM-DD) or instant, ISO-8601",
"type": "string"
},
"timestamp": {
"description": "a Unix timestamp in seconds",
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거