Skip to main content
Glama

Count agreements

agreement_counts
Read-onlyIdempotent

Counts the team's agreements in each status (draft, sent, partially signed, completed, declined, voided) and the total. Read only.

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": "agreement_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the trailing 'Read only.' is largely redundant. However, the description does real work the annotations cannot: it enumerates the exact status buckets returned and discloses that a total is included, which substitutes for the absent output schema.

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?

A single front-loaded sentence naming the action, scope, and returned breakdown, with a short safety tag. No filler, no restatement of the title beyond the necessary verb-resource pair.

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

Completeness5/5

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

For a zero-parameter, read-only aggregate with no output schema, the description supplies everything an agent needs: what is counted, the exact buckets in the response, and that a total is provided. Nothing about invocation or interpretation is left open.

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 and the baseline applies. The only semantic worth noting is that the status set is fixed rather than caller-selectable, which the enumeration makes clear implicitly.

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 verb+resource combination ('Counts the team's agreements') and scopes it precisely: a per-status breakdown plus a total. That aggregation framing distinguishes it from record-returning siblings like list_agreements or search without needing to name them.

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 this is the tool for aggregate status counts rather than enumerating records, and the 'team's' framing implies workspace scope. There is no explicit when-to-use statement, no exclusion of alternatives, and no note on whether other filters (owner, date range) exist and would require a different tool.

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