mrcanofcatfood
mrcanofcatfood
## Problem `tool_as_json()` in `R/server.R` serializes tool definitions for the `tools/list` MCP response, but only includes `name`, `description`, and `inputSchema` — it omits the `annotations` field entirely. The [MCP specification...
## Problem The MCP spec (2025-06-18) defines an [`outputSchema`](https://spec.modelcontextprotocol.io/specification/2025-06-18/server/tools/#output-schema) field on tool definitions — a JSON Schema describing the expected structure of tool results. This enables clients to validate outputs...
## Problem The MCP spec (2025-06-18) defines an optional [`title`](https://spec.modelcontextprotocol.io/specification/2025-06-18/server/tools/) field on tool definitions — a human-readable display name separate from the `name` identifier. `tool_as_json()` only serializes `name`, `description`, and...
## Problem The MCP spec (2025-06-18) defines a [`structuredContent`](https://spec.modelcontextprotocol.io/specification/2025-06-18/server/tools/#structured-content) field on tool results — a JSON object that provides machine-readable structured output alongside the human-readable `content` text. Currently, `as_tool_call_result()` only...
## Problem `as_tool_call_result()` hardcodes all tool results as `type: "text"`. There's no way for an R tool to return an image that renders inline in the client (e.g., Claude Desktop)....
## Problem `tool_as_json()` omits the `annotations` field when serializing tools for the `tools/list` MCP response. The MCP spec (2025-03-26+) [defines annotations as part of each tool](https://spec.modelcontextprotocol.io/specification/2025-03-26/server/tools/#tool-annotations), and ellmer already supports...
@filter decorator returns empty body {} when combined with serializer_json(auto_unbox=TRUE) in 1.3.3
## Environment - Plumber 1.3.3 (installed via CRAN snapshot 2026-07-12) - R 4.4.2 - Reproduced inside Docker container in CI ## Symptom GET /health returns HTTP 200 with body {}...