YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

Mastra Connect Adds Per-Request Tool Policies

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

Mastra Connect Adds Per-Request Tool Policies
OPEN LINK ↗
// 24m agoPRODUCT UPDATE

Mastra Connect Adds Per-Request Tool Policies

Mastra Connect’s `tools()` resolver now accepts a synchronous or asynchronous function that varies tool access for each request. Developers can apply role-based tool filters or approval policies using request context.

// ANALYSIS

This is a small API change with outsized security value: tool availability and approval can now follow caller context instead of being frozen at agent construction.

  • –Viewers can receive read-only tools while operators retain mutation capabilities.
  • –Sensitive actions can require approval only for selected roles or tool patterns.
  • –Resolver caching supports bounded role variants, but developers should avoid deriving options from unbounded per-user data.
  • –Connect still handles provider credentials and proxying; tool filters complement, rather than replace, provider-level permissions.
// TAGS
mastra-connectsdkframeworkagenttool-useguardrailsapi

DISCOVERED

24m ago

2026-11-06

PUBLISHED

58m ago

2026-11-06

RELEVANCE

8/ 10

AUTHOR

mastra