Interface: McpSurfaceBudget
Defined in: mcpSurface.ts:27
The limits a surface is checked against. description and instructions
have defaults, because a client cuts them; total and perTool are a
product's own choice, not a property of any client.
Properties
description?
optionaldescription?:number
Defined in: mcpSurface.ts:37
Ceiling on any one tool's description length. Unlike perTool, it leaves
out the name and input schema, which no client cuts.
Default
2048
instructions?
optionalinstructions?:number
Defined in: mcpSurface.ts:42
Ceiling on the instructions' length.
Default
2048
perTool?
optionalperTool?:number
Defined in: mcpSurface.ts:31
Ceiling on any one tool's size.
total?
optionaltotal?:number
Defined in: mcpSurface.ts:29
Ceiling on the sum of every tool's size.