Skip to main content
Glama

Dom Barker Wildlife Photography

Portfolio stats

get_portfolio_stats
Read-onlyIdempotent

Totals for the whole portfolio (photos, species, countries) and photo and species counts for every class (birds, mammals, insects, ...) and its orders. Use this for any 'how many' or breakdown question. To list the species in a class or order, pass its id to get_taxon or search_photos.

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_portfolio_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds valuable behavioral context by disclosing the shape of the result (portfolio-level totals plus counts broken down by class and order). It does not say anything about count freshness/aggregation semantics, which keeps it from a 5.

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 core capability is front-loaded in the first sentence, followed by a usage directive and a routing note. Every sentence adds information; no filler or repetition of the title.

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?

With no output schema, the description must convey the return content, and it does so at a high level (totals plus per-class/per-order counts). It stops short of specifying exact fields or units, but there is enough for an agent to know when and why to call it.

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 clarify beyond what the empty schema already conveys. Baseline for a 0-param tool applies, with no misleading parameter claims.

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?

States a specific result (portfolio totals for photos, species, countries) plus per-class and per-order photo/species counts, so the agent knows exactly what data comes back. It is clearly distinguishable from list/photo-retrieval siblings like search_photos or get_taxon.

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

Usage Guidelines5/5

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

Explicitly says to use it for any 'how many' or breakdown question, and names the alternative path (pass a class/order id to get_taxon or search_photos) when the agent actually needs species listings rather than counts. Both the when and the when-not are covered.

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