Skip to main content
Glama

Company definitions

company_metrics_and_definitions
Read-only

Returns this organization's own definitions of its metrics, terms and rules, and its verified queries. With no input, the index of every definition. With query, matching definitions. With paths, the files.

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

Input Schema

NameRequiredDescriptionDefault
pathsNofiles by their path in the index, or a folder ending in / for its files and folders, the root being /
queryNowords to find in the definitions
sinceNoa change id, such as an earlier answer's head: returns the changes after it
organizationNoan organization id, for a person in several organizations that keep definitions

Output Schema

NameRequiredDescriptionDefault
headNo
noteNo
filesNo
totalNo
readmeNo
changesNo
coveredNo
entriesNo
foldersNo
matchesNo
missingNo
truncatedYes
organization_idYes
organization_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / entries / items / properties / last_changed_by_name
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / properties / files / items / properties / last_changed_by_name
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=true, destructive=false, openWorld=false, so the safety profile is covered and the description's job is lighter. It adds useful behavioral context by explaining what comes back in each mode (index vs. matching definitions vs. file contents), though it says nothing about how 'since' change-tracking or the organization override influence results.

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

Conciseness4/5

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

Three front-loaded, parallel sentences that map cleanly onto the three invocation modes with no filler. The telegraphic verbless phrasing ('With query, matching definitions. With paths, the files.') is efficient but slightly clipped, costing a bit of readability.

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?

An output schema exists and parameter descriptions are fully covered, so return values and parameter meanings need not be restated. What remains is adequate for a read-only lookup tool, with only minor gaps around incremental 'since' queries and multi-organization selection.

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 schema already documents paths, query, since, and organization, making 3 the baseline. The description reinforces query and paths semantics but adds no syntax, format, or precedence detail beyond the schema, and never mentions 'since' or 'organization'.

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 specific resource (the organization's own metric/term/rule definitions plus verified queries) and enumerates the three result shapes: index, query matches, and files. It does not differentiate itself from the sibling suggest_company_definition, so an agent must infer that distinction, which keeps it just short of a 5.

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

Usage Guidelines4/5

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

The three mode sentences effectively describe how to select behavior through arguments: empty call for the index, 'query' for search, 'paths' for file retrieval. There is no explicit when-not guidance or pointer to the related suggest_company_definition tool, and the interaction when both query and paths are supplied is unstated.

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.