Title: MCP tool results should set `is_error: true` when validation fails · Issue #1952 · github/github-mcp-server · GitHub
Open Graph Title: MCP tool results should set `is_error: true` when validation fails · Issue #1952 · github/github-mcp-server
X Title: MCP tool results should set `is_error: true` when validation fails · Issue #1952 · github/github-mcp-server
Description: Describe the bug When a tool fails due to validation (ex: missing required parameter owner), the response should indicate an error and set is_error: true or the proper error structure. Currently, is_error gets set to false with error tex...
Open Graph Description: Describe the bug When a tool fails due to validation (ex: missing required parameter owner), the response should indicate an error and set is_error: true or the proper error structure. Currently, i...
X Description: Describe the bug When a tool fails due to validation (ex: missing required parameter owner), the response should indicate an error and set is_error: true or the proper error structure. Currently, i...
Opengraph URL: https://github.com/github/github-mcp-server/issues/1952
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MCP tool results should set `is_error: true` when validation fails","articleBody":"### Describe the bug\n\nWhen a tool fails due to validation (ex: missing required parameter owner), the response should indicate an error and set `is_error: true` or the proper error structure. Currently, is_error gets set to false with error text in content. This means that downstream clients are not able to treat this as a failure, so in my case my Dapr Agent is not able to properly handle this failure.\n\n\nadditional context: https://github.com/dapr/dapr-agents/pull/423\n\n### Affected version\n\nRemote MCP server endpoint: https://api.githubcopilot.com/mcp/.\n\n### Steps to reproduce the behavior\n\nYou can reproduce the issue by running my release note agent:\nhttps://github.com/sicoyle/release-note-agent\n\n### Expected vs actual behavior\n\nI should be able to parse the error field appropriately in Dapr Agents repo.\n\n### Logs\n\n```\nlResult'\u003e)\nGithubGetReleaseByTag(tool) (Id: call_eECqd2eObRNweLdG2AHHfMTZ):\n{\"meta\": null, \"content\": [{\"type\": \"text\", \"text\": \"missing required parameter: owner\", \"annotations\": null, \"meta\": null}], \"structured_content\": null, \"is_error\": false}\n\n-----------------------------------------------\n```\n","author":{"url":"https://github.com/sicoyle","@type":"Person","name":"sicoyle"},"datePublished":"2026-02-03T20:56:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1952/github-mcp-server/issues/1952"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c28f929e-3863-652c-8979-17f74eee9607 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB5C:3DFB64:9B4C:DCFA:6A622BE6 |
| html-safe-nonce | ba094cd1ffa5f414139cf10a3ac2d85199301d74de83dc69987311a800e2c8ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjVDOjNERkI2NDo5QjRDOkRDRkE6NkE2MjJCRTYiLCJ2aXNpdG9yX2lkIjoiOTExOTYwNzgwNjMxNjY1MzU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 39a2fbf63e7c2f01964afff3e53fe92b7c0d63925a5781408a6479efd96e847f |
| hovercard-subject-tag | issue:3893195708 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/1952/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8bf1b5e944e79e534a11a786c0413cd20b0711db68223e6d93a4f276ea3776fa/github/github-mcp-server/issues/1952 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8bf1b5e944e79e534a11a786c0413cd20b0711db68223e6d93a4f276ea3776fa/github/github-mcp-server/issues/1952 |
| og:image:alt | Describe the bug When a tool fails due to validation (ex: missing required parameter owner), the response should indicate an error and set is_error: true or the proper error structure. Currently, i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sicoyle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e882415c7b47986d65f899389c870b31642bb1c6f36516eb042618596c60e62 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 230e2af5fc0870303dd4569d72d2bb393ed52c52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width