선언적 WebMCP가 누락된 양식

에이전트는 양식의 작동 방식을 추론할 수 있지만 선언적 WebMCP 메타데이터를 제공하면 상호작용이 더 안정적으로 이루어집니다.

선언적 WebMCP 감사가 누락된 양식의 작동 방식

Lighthouse는 <form>이 모두 없는 toolnametooldescription 요소를 식별합니다. 현재 이 감사는 정보 제공용이며 경고가 발생하지 않습니다.

해결 방법

필요한 WebMCP 속성을 포함하도록 HTML 양식을 업데이트합니다.

<form toolname="newsletter_signup" tooldescription="Subscribes the user to the weekly newsletter">
  <input name="email" type="email" toolparamdescription="The user's email address">
  <button type="submit">Sign Up</button>
</form>