Skip to main content
Glama

KSUID character length

memory-key-count

Count keys in a JSON object. Values discarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoGit ref name; discarded after the shape check
urlNoHTTPS URL to normalize or cite
cityNoCity name for a public weather hint; discarded after the call
feedNoPublic RSS or Atom URL; titles discarded
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
pathNoFile path to check; no disk access
zoneNoIANA timezone name
queryNoSearch text; discarded after the length check

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations are absent, so the description itself is the only source of behavioral information. The phrase 'Values discarded' is valuable and suggests no data retention, but the description does not explicitly disclose whether the tool performs network calls, writes anything, or returns only an integer. It adds some transparency without carrying the full burden.

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 only two short sentences, front-loaded with the action and followed by a meaningful qualifier. There is no filler or repeated schema content; any brevity issues are under-specification rather than verbosity, so conciseness itself is excellent.

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

Completeness2/5

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

For a tool with 9 optional parameters, no annotations, and no output schema, two sentences are not enough for safe invocation. The description leaves unclear whether the mode should be a parameter value, the set of input properties themselves, or a separate object, and the return representation is not specified beyond a count. This material gap affects correctness.

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?

Schema description coverage is 100%, so the parameter descriptions already document each field. The tool description adds little parameter-level meaning: it does not explicitly map 'JSON object' to the `json` parameter or clarify whether all supplied properties are counted. This is acceptable but not more than the baseline for fully covered params.

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 names a concrete operation ('counts') and a resource ('a JSON object') and adds a qualifier ('Values discarded'), so a model can infer the kind of output. It is not a tautology and it is semantically distinct from a validate-only sibling, though it does not explicitly say which input parameter carries the JSON object.

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?

The description provides no when-to-use guidance, no exclusions, and no mention of alternatives such as validate-json, fetch-status, or domain-shape. An agent must guess whether this tool is appropriate just from the word 'count,' which is weak for a 9-parameter tool with many sibling tools covering similar validation and shape-check concerns.

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.