Skip to content

Add searching as a tool instead of as resource - #2

Open
meghanmurphy1 wants to merge 2 commits into
mainfrom
get-dynamic-resource-working
Open

Add searching as a tool instead of as resource #2
meghanmurphy1 wants to merge 2 commits into
mainfrom
get-dynamic-resource-working

Conversation

@meghanmurphy1

@meghanmurphy1 meghanmurphy1 commented Mar 4, 2025

Copy link
Copy Markdown
Owner

resources with parameter binding are resource templates not necessarily resources and it's a known issue that they're not being shown on Claude Ui modelcontextprotocol/python-sdk#92 😞

I'm thinking for at least demo purposes to have the searching be tools even though in this instance its getting data and resources are supposed to be used as GET endpoints and tools are more for transformations. I may also be missing something about the difference between the 2.

I've also seen where devs who have built out full MCP servers have just used tools for everything so I don't know if there's really a set precedent here anyways?

It also seems easier to use a tool I've found using plain language like "search my index for documents about x" which I think you can do with resources but you would need to upload the integration json first

@meghanmurphy1 meghanmurphy1 changed the title Add searching labs as a tool instead of a s resource Add searching labs as a tool instead of as resource Mar 4, 2025
@meghanmurphy1 meghanmurphy1 changed the title Add searching labs as a tool instead of as resource Add searching as a tool instead of as resource Mar 4, 2025
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.

1 participant