Skip to main content
Glama

Swarms Marketplace

Count the authenticated user’s agents

get_get-agents_fetch-agent-count
Read-onlyIdempotent

Count the authenticated user’s agents Calls GET /api/get-agents/fetch-agent-count on swarms.world with your API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_get-agents_fetch-agent-count"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds that an API key is required and names the backing endpoint/domain on swarms.world, which is genuine extra context. It does not describe the response shape (e.g., that only an integer count is returned) or any rate limiting, so the added value is modest.

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?

Two short sentences with the core action front-loaded in the title-like first sentence. The second sentence is compact and adds the auth/endpoint fact without padding or repetition.

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 zero-parameter counting tool with no output schema, what an agent needs to call it correctly is present: what it counts, the auth requirement, and the endpoint. The only real gap is the return format, which 'Count' largely implies but is not stated.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the empty object schema is self-explanatory. Baseline 4 applies for a parameterless tool.

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

Purpose4/5

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

The description uses a specific verb ('Count') and a specific resource ('the authenticated user's agents'), which cleanly separates it from siblings like get_get-agents or get_get-agents_id that retrieve agent records rather than a total. It never explicitly names the listing sibling, so it stops short of full differentiation, but the purpose is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer you call this when you want a total rather than full agent data, contrasted with get_get-agents. There is no explicit when-to-use/when-not statement, no mention of alternatives, and no note that it returns nothing useful beyond a count.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources