defer_loading and tool search for Sume's MCP tools

Set defer_loading: true on the Sume MCP tool so OpenAI tool search loads definitions on demand, then use tools_list and tools_schema for details.

4 min readSume
All posts

Add defer_loading: true to the MCP tool entry that points at https://mcp.sume.com/mcp. OpenAI's MCP guide says this option works together with tool search, so the model does not carry every Sume tool definition on every turn.

Sume's tool set is large: assets, generation, crawl, avatar and timeline tools. Loading all of it up front costs tokens, and OpenAI bills tokens for imported tool definitions. Deferral pushes that cost to the turns that need it.

Deferral and Sume's own discovery tools

Sume ships two layers for the same problem. The first is client-side: your agent platform decides when to load definitions. The second is server-side: tools_list returns names and short descriptions, and tools_schema returns the full schema for one tool (hosted MCP docs).

Two ways to avoid loading every definition (read 2026-10-04)
LayerMechanismDocumented by
Clientdefer_loading: true plus tool searchOpenAI MCP guide
Servertools_list, then tools_schema for one toolSume hosted MCP docs
Server gatemcp:read hides write and paid toolsSume tools and gates
BothPin allowed_tools to a short listOpenAI MCP guide

Request shape

Combine deferral with a short allowed_tools list for the tools a job actually uses. The request below only differs from a normal MCP tool entry in the extra flag.

{
  "type": "mcp",
  "server_label": "sume",
  "server_url": "https://mcp.sume.com/mcp",
  "authorization": "<SUME_OAUTH_TOKEN>",
  "defer_loading": true,
  "allowed_tools": ["tools_list", "tools_schema", "account_me", "catalog_list"]
}

Caveats

  • Deferral changes when definitions load, not what the server allows. Scope gates still apply.
  • Read the OpenAI page for the exact tool-search setup; this post does not restate it.
  • If a tool is missing from search results, call tools_list yourself to see whether the token's scope hides it.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume