Skip to main content
Glama

jsonshelf

AIエージェント向けの決定論的なJSON修復、検証、例生成、およびスキーマ強制。 LLM呼び出しゼロ。10ミリ秒以下。1呼び出しあたり0.0005ドル。エージェント専用。

ライブエンドポイント: https://jsonshelf.vercel.app/

curl https://jsonshelf.vercel.app/ は、機械可読な完全なマニフェストを返します。HTMLなし。人間向けではありません。

機能

4つのツール、すべて純粋な計算、100%決定論的:

エンドポイント

目的

POST /v1/repair

不正なJSONを修正。準拠させるためのオプションのスキーマ指定が可能。

POST /v1/validate

スキーマに対してJSONを検証。エージェントに何を修正すべきかを正確に伝える fix フィールドを含む構造化されたエラーを返します。

POST /v1/example

JSONスキーマから最小限の有効な例を生成。

POST /v1/coerce

スキーマに合わせて値をソフトキャスト(例: 整数フィールドに対して "42"42)。

すべてのエラーレスポンスには { error, code, message, fix, docs, http_status } が含まれており、エージェントが推測する必要はありません。

ディスカバリー(人間による操作は不要)

  • GET /.well-known/ai-plugin.json — OpenAIプラグインマニフェスト

  • GET /.well-known/mcp.json — MCPサーバーマニフェスト

  • GET /llms.txt — 機械可読なドキュメント

  • GET /openapi.json — OpenAPI 3.1仕様

  • GET /v1/pricing — 機械可読な価格設定

  • GET /v1/errors — 完全なエラーカタログ

認証

# 1. Issue a key (100 free credits)
curl -X POST https://jsonshelf.vercel.app/v1/keys

# 2. Use the key
curl -X POST https://jsonshelf.vercel.app/v1/repair \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"input":"{name:\"alice\", skills:[\"code\",]}"}'

課金

プリペイドクレジット。単一のPOSTリクエストで、エージェントが自律的に従う支払いURLを返します:

curl -X POST https://jsonshelf.vercel.app/v1/credits \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"pack":"starter"}'

{ payment_url, x402: { ... } } を返します。x402ヘッダーは、プロトコル互換クライアント向けに出力されます。

MCP

https://jsonshelf.vercel.app/mcp でHTTP経由で使用可能(JSON-RPC 2.0、プロトコルバージョン 2024-11-05)。4つのツール:jsonshelf_repairjsonshelf_validatejsonshelf_examplejsonshelf_coerce

ライセンス

Apache 2.0。

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/walkojas-boop/jsonshelf'

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