Capability types
tool: Callable operation, often used for fetch/create/update behavior.resource: Read-only content source.prompt: Reusable prompt template managed by an MCP server.
Two execution modes
Superwire supports two ways to use MCP tools:- Workflow-owned call in
dynamic {}usingcall tool.*.- Best for deterministic steps that must always run.
- Best when runtime values should be bound explicitly.
- Model-owned call inside an
agentthroughuses: [tool.*].- Best when model judgment decides if a tool is needed.
- Best for selective retrieval or exploratory reasoning.
Recommended authoring pattern
- Declare MCP servers with endpoint and auth headers.
- Import only needed tools/resources/prompts.
- Use workflow-owned calls for required operations.
- Give agents least-privilege
usesaccess. - Keep outputs typed so downstream steps stay stable.