Skip to content

Question about MCP Resources vs Tools for CSV Graph Plotting #71

@Dhruv-mak

Description

@Dhruv-mak

Hi team,

I'm new to fast-agent and may be missing something obvious. I'm trying to understand the best approach for my use case:

I understand what MCP tools do, but I'm still confused about resources. I've noticed resources are typically used within tools, but I have a specific question:

If I have a function that plots graphs from CSV input, should I be using MCP resources? If yes, how would I configure an agent that has access to this resource and returns the generated image back to me?

Currently, I'm working with code similar to:

Any guidance on best practices for this scenario would be greatly appreciated!

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions