Skip to main content

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?​

optional description?: 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?​

optional instructions?: number

Defined in: mcpSurface.ts:42

Ceiling on the instructions' length.

Default​

2048

perTool?​

optional perTool?: number

Defined in: mcpSurface.ts:31

Ceiling on any one tool's size.


total?​

optional total?: number

Defined in: mcpSurface.ts:29

Ceiling on the sum of every tool's size.