@@ -8,10 +8,10 @@ export const serverMetadata = {
88 instructions : `
99Quick start
1010- Use 'do_math' to compute a single arithmetic operation on two numbers.
11- - Tools return both human-readable markdown in 'content' and machine-friendly data in 'structuredContent' .
11+ - Tools return both a human-readable message and a machine-readable result .
1212
1313Default behavior
14- - 'do_math.precision' controls ONLY the human-readable formatting. 'structuredContent.result' is not rounded .
14+ - 'do_math.precision' controls ONLY display formatting; it does not change the computed value .
1515- Division by zero is rejected with an actionable error message.
1616
1717How to chain tools safely
@@ -38,16 +38,12 @@ export const toolsMetadata = {
3838Compute a single arithmetic operation over two numbers.
3939
4040Behavior:
41- - Division by zero is rejected and includes a stable error code in 'structuredContent.error' .
42- - 'precision' affects ONLY the markdown output in 'content'; 'structuredContent.result' is not rounded .
41+ - Division by zero is rejected.
42+ - 'precision' affects ONLY display formatting; it does not change the computed numeric result .
4343
4444Examples:
4545- "Add 8 and 4" → { left: 8, operator: "+", right: 4 }
4646- "Divide 1 by 3 with 3 decimals" → { left: 1, operator: "/", right: 3, precision: 3 }
47-
48- Next:
49- - Use 'structuredContent.result' if you need a machine-friendly number.
50- - If you need to present the result to a user, use the markdown text in 'content'.
5147 ` . trim ( ) ,
5248 annotations : readOnlyToolAnnotations ,
5349 } ,
0 commit comments