Skip to content

Conversation

@stephenhillier
Copy link
Contributor

We previously had some code to simplify tool input schemas (generated from the SDK function signatures) if tool registration failed. We also now want to simplify our geojson input type hints due to inconsistent behavior using geojson inputs with Claude Desktop.

Since we have another reason to run tool functions through the _create_param_modified_wrapper utility, I set up a list of tools to use it with (rather than relying on PydanticSchemaGenerationError to trigger it).

@wiki0831
Copy link
Member

LGTM!

I reinstalled the MCP server and was able to verify the changes in Claude Desktop.

Screenshot 2025-11-12 at 9 27 40 AM

@angaither
Copy link
Contributor

any readme updates (screenshots) we want to include with this change?

@stephenhillier
Copy link
Contributor Author

stephenhillier commented Nov 12, 2025

@angaither you're right, we should add Claude Desktop instructions. I'll include some in another commit 🙇

edit: we do already have some. Even still, a screenshot example or two might be nice

@@ -0,0 +1,7 @@
from typing import Any
from typing_extensions import TypedDict
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the tool description for geometry should probably also be updated to remove the feature reference language https://github.com/planetlabs/planet-mcp/blob/main/src/planet_mcp/servers/descriptions.py#L13

* supports feature references
@stephenhillier stephenhillier merged commit fb9e22e into main Nov 18, 2025
8 checks passed
@stephenhillier stephenhillier deleted the steve/geojson-types branch November 18, 2025 18:37
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.

4 participants