Skip to main content
Glama

get_project_metadata

Read-only

Reads the CUSTOM project metadata. WITH key: the value of that key (or found: false if it does not exist — a legitimate question, not an error). WITHOUT key: the INDEX only — the keys present, the size of each value and its last write date, without the values themselves. The index is the resume read of a piece of work: it says what exists without loading anything.

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

Input Schema

NameRequiredDescriptionDefault
keyNoThe key to read. OMITTED, the response is the INDEX (the keys, their size, their date) — without the values: a whole store poured into the context would cost on every call what a single key costs on demand.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed2 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / key / description
      Previous value: -"La clé à lire. OMISE, la réponse est l’INDEX (les clés, leur taille, leur date) — jamais les valeurs : un magasin entier déversé dans le contexte coûterait à chaque appel ce qu’une seule clé coûte à la demande."New value: +"The key to read. OMITTED, the response is the INDEX (the keys, their size, their date) — without the values: a whole store poured into the context would cost on every call what a single key costs on demand."
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses the two response shapes (value vs. index with keys, sizes, and last-write dates), explicitly says a missing key returns `found: false` rather than an error, and explains the context-cost rationale for not dumping the whole store. That is exactly the behavioral context annotations cannot carry.

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?

Front-loaded and organized by mode, with the most important distinction (key vs. no key) stated in the first two clauses. A few phrases are rhetorical flourishes ("a legitimate question, not an error", "poured into the context") that add tone more than information, but they are short and do not obscure the content.

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 carries the return-value burden and does so for both modes, including the not-found case. It leaves minor gaps — what "size" measures, whether the index is bounded or paginated for large stores, and the error/permission profile — but an agent can call it correctly with what is given.

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 coverage is 100% and both schema property descriptions already state that an omitted `key` yields the index and that `expectedProjectId` overrides the session project. The description reinforces the omitted-key semantics with a cost rationale but adds no new syntax, format, or constraint information, so the baseline 3 applies.

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 and resource ("Reads the CUSTOM project metadata") and immediately splits the tool into its two distinct behaviors: value lookup WITH `key` and index listing WITHOUT `key`. An agent knows exactly what it gets in either case, and "CUSTOM" implicitly separates this store from the kind-metadata siblings.

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?

Gives clear when-to-use guidance for both modes: use a single key for an on-demand value, omit the key for the "resume read of a piece of work" when you need to see what exists before loading anything. It does not name an alternative tool or state when not to use this one, so it stops short of full routing guidance.

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.