Skip to content

MCP contract: add tool annotations and standardized errors #199

Closed

Description

@sajeetharan

Problem

The MCP server doesn't provide stable, annotated hints for tool discovery or standardized error guidelines, making automated retries and agent-side error handling difficult.

Acceptance Criteria

  • Provide read-only annotations for discovery tools.
  • Provide state-changing annotations for introduction tools.
  • Implement stable error codes and structured categories.
  • Document and implement retry/rate-limit guidance for client agents.
  • Tests and developer documentation.

Dependencies

  • None.

Activity

  1. added
    enhancement
    priority: medium
    on Aug 18, 2026
  2. sajeetharan commented on Aug 18, 2026

    @sajeetharan
    OwnerAuthor

    The implementation for this issue has been completed in draft PR #204.
    Delivered Scope: Rich annotations and diagnostic options, including categorized errors, machine-readable diagnostics, and Link-based metadata headers (such as server-card and agent-skills).
    Validation: Standardized Link header injection verified and diagnostic responses conform to the schema.

  3. sajeetharan commented on Aug 18, 2026

    @sajeetharan
    OwnerAuthor

    PR #204 delivered annotations/basic categorized retryable errors. Remaining open for standard retry/rate-limit contract tests.

  4. moved this from Todo to In progress in DevGlobe Roadmapon Aug 21, 2026
  5. moved this from In progress to Done in DevGlobe Roadmapon Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: medium

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions