Count Knowledge Bases
count_knowledge_basesUse this when the user asks to count Knowledge Bases. Returns only data visible to the linked Market Brew account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
count_knowledge_basesUse this when the user asks to count Knowledge Bases. Returns only data visible to the linked Market Brew account.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds a real behavioral constraint beyond the annotations: results are scoped to 'only data visible to the linked Market Brew account'.
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?
Two short sentences, front-loaded with the trigger condition and followed by the scoping caveat. Every sentence earns its place with no redundancy.
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?
For a zero-parameter, read-only count tool with no output schema, the description covers the essential trigger and the account-scoping behavior. It could state what is returned (a numeric total), but that is a minor gap given the simplicity.
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?
The tool takes zero parameters, so there is no parameter semantics to document; baseline 4 applies. Nothing in the schema requires compensating description text.
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?
States a specific verb+resource (count Knowledge Bases), which cleanly separates it from the sibling list_knowledge_bases and get_knowledge_base. It doesn't explicitly name that sibling, but the operation is unambiguous from the name and description.
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?
Provides an explicit trigger phrase ('Use this when the user asks to count Knowledge Bases'), which is adequate usage guidance. However, it offers no exclusions or routing to alternatives such as list_knowledge_bases when the user wants the actual items rather than a total.
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.