Skip to main content
Glama

Count active services

count_active_services
Read-only

Count active services linked to a product by entering its UUID. Returns the total number of currently active contract products for that product.

Instructions

Count active contract products for a product.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesProduct UUID
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds the active status filter and product scoping, which is useful context beyond the annotations. However, it does not explain what 'active' means or what the return type is. Since readOnlyHint=true and destructiveHint=false already disclose the safety profile, a score of 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no filler or redundancy. It front-loads the verb and clearly states the object and scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter count tool with read-only annotations, the description is largely sufficient. It clearly describes what is counted. The lack of an output schema is mitigated by the fact that 'Count' implies a numeric result, but a brief note on return format would make it more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema fully covers product_id with a description 'Product UUID' (100% schema description coverage). The tool description adds no additional parameter semantics, so it does not exceed the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Count active contract products for a product' clearly states a specific action (count), a distinct resource (active contract products), and a scope (for a product). This distinguishes it from sibling tools like list_contracts and get_contract, which list/retrieve rather than count.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives. The description does not mention exclusions, prerequisites, or contrast with list_contracts or get_contract. The agent must infer usage from the name and description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spidyhost-crm/upmind-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server