MCP & agents

MCP or a direct tool call: how to choose for agents

DEV: mcp Conor Bronsdon
MCP & agents

Should a tool be exposed as an MCP server or kept as a direct function call? Engineering leads from Block and Airbyte separate the multi-client reuse case from the data-access problem and offer a practical decision rule for agent builders.

Key points

  • Expose a tool through MCP when a second client, model or team will call it, so the integration is built once.
  • If you already know the record id and need the latest single object, a direct API call stays simpler.
  • MCP is only transport: rate limits, missing filters and full-record payloads remain your problem.
  • Airbyte runs a hybrid: discovery from an indexed copy, fresh reads straight from the API once the id is known.
  • Block refuses installs not on its allow-list and asks a human to approve destructive tool calls.
  • One business function can register once and be reached through a direct adapter or a protocol adapter.

Real-world use

  • Publishing an internal data tool as one MCP server so several models and teams share a single integration
  • An incident-response agent that inspects the codebase through a GitHub MCP server and opens a pull request
  • A performance-sensitive path that fetches one known record by id instead of going through a general server
  • Gating self-service server installs with an allow-list, security review and OAuth in a large engineering org

This summary was generated by the agent from the original post on DEV: mcp. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message