Urgent.News

What's breaking now, across hundreds of outlets.

Tech

A WebMCP Tool Is Registered but Failing: Debug the Contract in Chrome

The agent finds the right tool. Chrome shows a registration. The application still returns INVALID_ARGUMENTS . That failure is easy to misdiagnose as a model problem. In the companion fixture, it has a simpler cause: the tool advertises an argument called id , while the callback expects eventId . The agent can follow the advertised schema perfectly and still fail. This article uses that…

This brief focuses on debugging a WebMCP tool contract issue in Chrome. The problem lies in a mismatch between the advertised argument name "id" and the expected argument name "eventId" in the callback. The source material provides a step-by-step guide on how to reproduce the issue using a broken fixture, which exposes the incorrect schema, and a corrected fixture, which uses the proper schema.

The author demonstrates how to use Chrome's DevTools panel to inspect the registered tools and their schemas, as well as how to compare the actual arguments with the callback's validator. The goal is to identify the broken boundary before attempting to fix the issue, and to ensure that the debugging process is explicitly configured using the provided Chrome DevTools agent guide.

Brief written by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

OpenRouter Alternatives in 2026: A Practical Comparison Checklist

OpenRouter is still a reasonable default when you want the widest possible model list. But "alternative" searches are usually about something more specific: a price you can audit, a payment rail your…

  • API Volta discloses transparent USD pricing per 1 million tokens
  • Curated model catalog ensures stable pricing and routing
  • Multiple payment options including prepaid USD, cards, and stablecoins

A free offline APK inspector in one Python file (from a student in Egypt)

Hi, I'm Bebo, a student developer from Egypt. I wrote a small offline APK checker and put it on GitHub under the MIT license. It is one Python file, standard library only, no network, no paid API.

  • Bebo, an Egyptian student, created apkinspect, a one-file Python APK inspector.
  • The tool analyzes APKs offline without network or paid APIs, available on GitHub under MIT license.

More from Sunday, 29 November 2026 →