calculate_sum
Calculate sum of numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | Comma-separated numbers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sum | Yes | ||
| count | Yes | ||
| numbers | Yes |
Calculate sum of numbers.
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | Comma-separated numbers |
| Name | Required | Description | Default |
|---|---|---|---|
| sum | Yes | ||
| count | Yes | ||
| numbers | Yes |
Changes observed during successful MCP inspections.
Output schema / $defs / SumResponseRemoved value: -{
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "numbers": {
- "items": {
- "type": "number"
- },
- "title": "Numbers",
- "type": "array"
- },
- "sum": {
- "title": "Sum",
- "type": "number"
- }
- },
- "required": [
- "numbers",
- "count",
- "sum"
- ],
- "title": "SumResponse",
- "type": "object"
-}Output schema / $defs / app__routers__stats_utils__SumResponseAdded value: +{
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "numbers": {
+ "items": {
+ "type": "number"
+ },
+ "title": "Numbers",
+ "type": "array"
+ },
+ "sum": {
+ "title": "Sum",
+ "type": "number"
+ }
+ },
+ "required": [
+ "numbers",
+ "count",
+ "sum"
+ ],
+ "title": "SumResponse",
+ "type": "object"
+}Output schema / x-fastmcp-top-level-schemaPrevious value: -"SumResponse"New value: +"app__routers__stats_utils__SumResponse"Output schema / $defs / SumResponseAdded value: +{
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "numbers": {
+ "items": {
+ "type": "number"
+ },
+ "title": "Numbers",
+ "type": "array"
+ },
+ "sum": {
+ "title": "Sum",
+ "type": "number"
+ }
+ },
+ "required": [
+ "numbers",
+ "count",
+ "sum"
+ ],
+ "title": "SumResponse",
+ "type": "object"
+}Output schema / $defs / app__routers__stats_utils__SumResponseRemoved value: -{
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "numbers": {
- "items": {
- "type": "number"
- },
- "title": "Numbers",
- "type": "array"
- },
- "sum": {
- "title": "Sum",
- "type": "number"
- }
- },
- "required": [
- "numbers",
- "count",
- "sum"
- ],
- "title": "SumResponse",
- "type": "object"
-}Output schema / x-fastmcp-top-level-schemaPrevious value: -"app__routers__stats_utils__SumResponse"New value: +"SumResponse"Output schema / $defs / SumResponseRemoved value: -{
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "numbers": {
- "items": {
- "type": "number"
- },
- "title": "Numbers",
- "type": "array"
- },
- "sum": {
- "title": "Sum",
- "type": "number"
- }
- },
- "required": [
- "numbers",
- "count",
- "sum"
- ],
- "title": "SumResponse",
- "type": "object"
-}Output schema / $defs / app__routers__stats_utils__SumResponseAdded value: +{
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "numbers": {
+ "items": {
+ "type": "number"
+ },
+ "title": "Numbers",
+ "type": "array"
+ },
+ "sum": {
+ "title": "Sum",
+ "type": "number"
+ }
+ },
+ "required": [
+ "numbers",
+ "count",
+ "sum"
+ ],
+ "title": "SumResponse",
+ "type": "object"
+}Output schema / x-fastmcp-top-level-schemaPrevious value: -"SumResponse"New value: +"app__routers__stats_utils__SumResponse"Output schema / $defs / SumResponseAdded value: +{
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "numbers": {
+ "items": {
+ "type": "number"
+ },
+ "title": "Numbers",
+ "type": "array"
+ },
+ "sum": {
+ "title": "Sum",
+ "type": "number"
+ }
+ },
+ "required": [
+ "numbers",
+ "count",
+ "sum"
+ ],
+ "title": "SumResponse",
+ "type": "object"
+}Output schema / $defs / app__routers__stats_utils__SumResponseRemoved value: -{
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "numbers": {
- "items": {
- "type": "number"
- },
- "title": "Numbers",
- "type": "array"
- },
- "sum": {
- "title": "Sum",
- "type": "number"
- }
- },
- "required": [
- "numbers",
- "count",
- "sum"
- ],
- "title": "SumResponse",
- "type": "object"
-}Output schema / x-fastmcp-top-level-schemaPrevious value: -"app__routers__stats_utils__SumResponse"New value: +"SumResponse"Output schema / $defs / SumResponseRemoved value: -{
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "numbers": {
- "items": {
- "type": "number"
- },
- "title": "Numbers",
- "type": "array"
- },
- "sum": {
- "title": "Sum",
- "type": "number"
- }
- },
- "required": [
- "numbers",
- "count",
- "sum"
- ],
- "title": "SumResponse",
- "type": "object"
-}Output schema / $defs / app__routers__stats_utils__SumResponseAdded value: +{
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "numbers": {
+ "items": {
+ "type": "number"
+ },
+ "title": "Numbers",
+ "type": "array"
+ },
+ "sum": {
+ "title": "Sum",
+ "type": "number"
+ }
+ },
+ "required": [
+ "numbers",
+ "count",
+ "sum"
+ ],
+ "title": "SumResponse",
+ "type": "object"
+}Output schema / x-fastmcp-top-level-schemaPrevious value: -"SumResponse"New value: +"app__routers__stats_utils__SumResponse"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It only states purpose and does not disclose any behavioral traits such as return format, error handling, or performance implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no wasted words. Efficiently communicates the core function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity and the existence of an output schema, the description is mostly complete. It could mention the return type (a number) but is adequate for a basic calculator.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the schema already describes 'numbers' as comma-separated. The description does not add meaning beyond 'Calculate sum of numbers'. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description states 'Calculate sum of numbers' which is clear but fails to differentiate from the sibling tool 'sum_numbers' that likely performs the same function. The tool's purpose is conveyed, but distinction is lacking.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives like 'add' or 'sum_numbers'. No context on appropriate inputs or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.