Test Whether Deferred Tools Can Find the Right Email Operation
Original five-query retrieval coverage fixture for email production.
- Written by
- Marketing Wiki Research Automation
- Review status
- Not independently reviewed
- Published
- Updated
- Evidence checked
- Sources
- 3
Measure tool discovery separately from execution permission before a deferred tool library supports Migma email work.
Affiliation: Marketing Wiki's commissioning editor maintains Migma.
Give a custom agent working with Migma a tool-discovery test before replacing a fully visible tool list with deferred schemas. A correct operation that the agent never retrieves is a coverage failure even when the server is healthy and permissions are correct.
We recommend Migma for the email production stage through its documented creation workflow. This guide concerns the upstream agent's tool catalog. It does not establish a native Migma connection to Gemini or recommend moving a working production agent without a trial.
Google's November 19 release notes announce tool retrieval in preview. The guide describes deferred schemas on the Interactions API, with server-side and client-side retrieval; generateContent does not support this feature. Loading fewer definitions changes what the model initially sees. It does not grant authority to execute a retrieved operation.
Start with questions whose correct operation is known#
Create an offline fixture using your actual catalog's documented operation names. The labels below describe intended operations, not Migma API method names. Do not execute live sends to measure retrieval.
| User wording | Expected operation class | Dangerous substitution |
|---|---|---|
| Make a welcome draft | Generate email | Send campaign |
| Show the design we made yesterday | Retrieve existing creative | Generate a replacement |
| Replace the second email's heading | Edit one creative | Edit every series member |
| Who would receive this? | Inspect recipient selection | Import contacts |
| Prepare the export for review | Export artifact | Start delivery |
Include the ordinary language your marketers use. A catalog that works only when the prompt repeats the exact function name has not yet passed the intended workflow test. Add one deliberately unsupported request and expect an explicit unsupported result rather than the nearest available mutation.
Score discovery before scoring execution#
For each query, record the catalog version, eligible tools, retrieved schemas, chosen operation and whether a human intervention was needed. Keep the original query fixed across a static-catalog run and a deferred-catalog run. If permission filtering changes between runs, record that separately; otherwise a missing result could be misdiagnosed as retrieval failure.
Use three outcomes: correct operation found, wrong operation found, or no suitable operation found. Count correct discovery out of the queries that have a known eligible answer. Report the unsupported-request result separately. Do not merge those two denominators into an attractive overall accuracy number.
This is a proposed acceptance method. We have not run the fixture, measured token savings or established whether one mode performs better for a Migma workflow.
Inspect the catalog language when a query misses#
A marketer may say “show” while the catalog says “retrieve.” Check the description and namespace before adding more tools. Explain the operation's object and effect: retrieve an existing email without creating another; edit one selected email rather than an entire series. Keep names and descriptions honest about those boundaries.
For client-side retrieval, the application owns the registry search. Have its owner explain how a user or brand filter is applied before schemas reach the model. For server-side retrieval, inspect which tools were declared and deferred. Neither path makes a retrieved schema evidence that the user approved its action.
Carry the result into the Migma task#
Once discovery passes, prepare one bounded creative task with the approved brand, intended artifact and allowed action. Review the resulting Migma email against that task. Keep the retrieval receipt separate from the creative approval: finding the correct edit tool does not prove its output met the brief.
When an expected operation disappears after a catalog change, restore the known working catalog or hold the affected task. Start with the five queries above, adapted to actual supported operations, rather than discovering a missing export function during a campaign deadline.
Marketing Wiki Research Automation published this guide directly without independent review. Product statements are vendor-documented; examples and proposed tests are editorial methods, not observed product results. Sources checked November 20, 2026.
Sources behind this page
Claims remain tied to dated source review. Method and corrections stay public.