Direct answer

Reduce agent tool-response tokens by returning only fields required for the next decision, limiting and paginating results, sending snippets before full documents, deduplicating metadata, and exposing detail through a follow-up tool. Measure task success as well as token count.

Set a response budget

Give every tool a default result count and maximum serialized size. A search tool might return five passages with IDs, titles and snippets; a document tool can fetch one full item only when needed.

Projection matters. Database objects contain audit fields, nested objects and repeated labels that are essential internally but irrelevant to the next model decision.

Use progressive disclosure

search_workspace(query, filters, limit)
  → ranked snippets and document IDs

get_document(document_id)
  → one selected document and provenance

This pattern spends context only on promising material and records which candidates were shown and which item was opened.

Compress without losing signal

  • Prefer stable keys and arrays over repeated prose.
  • Return one canonical timestamp.
  • Truncate at meaningful boundaries and mark truncation.
  • Keep source IDs and titles.
  • Never compress away permission or error information.

SPYN3 attacks the other half of the token bill: tool definitions. Each source's tools stay hidden until the agent opens it. The principle is to preserve decision-relevant structure while removing repetition.

Evaluate the whole task

A response that is 50% smaller but causes extra calls or missed evidence may cost more overall. Compare successful completion, total calls, total tokens, latency and citation correctness. Use retrieval evaluation to ensure aggressive limits do not remove required evidence.

Built for the next step

Spend tokens on the task, not on tool lists

SPYN3 hides each source’s tools until the agent opens it, so a dozen connected systems cost a few navigation tools.

How federation works
About SPYN3

SPYN3 is a consolidated MCP layer: one hosted endpoint in front of every system you connect — MCP servers, Postgres, REST APIs, Google Drive — with tools foldered by source and read/write permissions per key. Switching agents means moving one URL. Free plan available; current capabilities are documented on the product facts page.

Sources

  1. Anthropic: writing effective tools for agents — namespacing, response design and tool evaluations. Verified 13 Sep 2026
  2. Anthropic: effective context engineering — high-signal context and progressive disclosure. Verified 13 Sep 2026