I am solo runner building 5 saas product and my own AI alone and doing it's marketing alone
Markdown supported · ⌘↵ to post
Great breakdown—especially calling out that readOnlyHint and destructiveHint are hints, not security boundaries.
Two edge cases we keep seeing when wrapping OpenAPI specs into MCP servers:
POST /search or POST /preview is read-only, while some GET endpoints trigger side effects or expensive exports, and POST covers everything from idempotent creates to irreversible charges. Relying on raw HTTP method mapping misclassifies risk—keeping an explicit side-effect + idempotency manifest per task-shaped tool (and pairing destructive writes with dry-run previews or protocol-level Elicitation) avoids nasty surprises.429s for everyone else and muddies the audit log. Propagating a per-agent or per-session identifier into rate-limit keys and audit headers keeps attribution intact without leaking the underlying credential.
Osama Malik
Agree on grouping into task-shaped tools. One addition: when a tool wraps two endpoints, make the write step idempotent or require an explicit id returned by the read step, because agents sometimes retry a call after a timeout and a plain POST then creates a duplicate. Also keep the tool result small and structured (only the fields the task needs), since large raw API responses eat context and can carry text from user-generated fields that the model may treat as instructions.