Skip to content

Conversation

Copy link

Copilot AI commented Jan 16, 2026

Demonstrates three types of schema changes that MCP conformance testing detects: tool argument addition, resource removal, and prompt metadata modification.

Changes

Tool schema change (mcp_starter/tools.py)

  • Added optional uppercase: bool = False parameter to hello tool
  • Returns uppercased name when flag is set: f"Hello, {name.upper() if uppercase else name}! Welcome to MCP."

Resource removal (mcp_starter/resources.py)

  • Removed example_file resource (file://example.md)
  • Deleted 23 lines including function and markdown content

Prompt metadata change (mcp_starter/prompts.py)

  • Updated greet prompt description: "Generate a greeting in a specific style" → "Generate a personalized greeting message with customizable style"

Documentation update (mcp_starter/server.py)

  • Removed file://example.md reference from SERVER_INSTRUCTIONS

These changes exercise the conformance action's ability to detect breaking changes in tool signatures, resource availability, and prompt metadata.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This PR demonstrates MCP schema changes that will be detected by conformance testing.

Make these 3 specific changes:

  1. Add a tool argument: In mcp_starter/tools.py, find the hello tool and add an optional uppercase boolean argument:

    • Add parameter uppercase: bool = False
    • Update the function body to return f"Hello, {name.upper() if uppercase else name}! Welcome to MCP."
  2. Remove a resource: In mcp_starter/resources.py, completely remove the example_file function decorated with @mcp.resource("file://example.md"). This removes the example.md resource.

  3. Change a prompt description: In mcp_starter/prompts.py, find the greet prompt and change its description from "Generate a greeting in a specific style" to "Generate a personalized greeting message with customizable style"

These changes demonstrate what the conformance action detects:

  • Tool schema changes (new argument)
  • Resource removal
  • Prompt metadata changes

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Add optional uppercase parameter to hello tool
- Remove example.md resource
- Update greet prompt description
- Update server instructions to reflect resource removal

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
Copilot AI changed the title [WIP] Update MCP schema to include tool argument, remove resource, and change prompt Add MCP schema changes for conformance testing demonstration Jan 16, 2026
Copilot AI requested a review from SamMorrowDrums January 16, 2026 12:13
@SamMorrowDrums SamMorrowDrums marked this pull request as ready for review January 16, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants