Skip to main content
Glama

Discover the AI in a codebase, and which Article 50 limbs could attach

discover_ai_surfaces
Read-only

Analyze code files to identify AI capabilities and map them to EU AI Act Article 50 obligations, with evidence and duty-bearers. Returns hypotheses, not findings, fully offline.

Instructions

Reads file CONTENT you pass in (a package.json, source files) and proposes which AI capabilities the code could ship, with the evidence for each, then resolves those into Article 50 limbs with their dates and duty-bearers. Returns HYPOTHESES, never findings: a dependency proves what code could do, never what it ships. Offline, no network, nothing stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesA map of path to file content. Read the files yourself and pass their contents; the tool never touches the filesystem. A package.json yields "possible" capabilities; a source file containing a real call site raises one to "likely". Passing both is best.
deploysNoWhether the user also runs the system themselves. Articles 50(3) and 50(4) bind the deployer, so if they only supply it to customers those duties land downstream. Defaults to false.
own_brandNoArticle 3(3): is this placed on the market under the user's own name or trademark? Ask them; do not infer it from the repository or the git author. If true they are the provider whatever model sits underneath, and a provider duty cannot be contracted back upstream. Defaults to true.
on_market_before_2_aug_2026NoArticle 111(4): was it on the market before 2 August 2026? If yes, the 50(2) marking duty moves to 2 December 2026. If no, it applied the day it shipped, with no transition. Defaults to false, which is the stricter reading.
Install Server

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/destructive annotations by disclosing that outputs are hypotheses, not findings, and that the tool is offline with nothing stored. This is valuable behavioral context that prevents misuse and over-interpretation of results.

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?

Two tight sentences with no filler. The most important behavioral caveat (hypotheses, never findings) is prominent, and the operational constraints (offline, no storage) are packed efficiently into a short closing phrase.

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?

Covers input expectations, analysis flow, evidence logic, output status, and operational constraints at a high level. Since there is no output schema, a bit more detail on the shape of returned limbs/dates/duty-bearers would improve completeness, but the essentials are present.

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?

Input schema has 100% description coverage, so the schema carries the parameter meaning. The description reinforces the files parameter and the possible-vs-likely evidence distinction, but does not add new semantic information about deploys, own_brand, or the date flag beyond the schema.

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?

Description clearly states a specific action (read file contents, propose AI capabilities, resolve into Article 50 limbs) and names the concrete input types. It does not explicitly differentiate itself from siblings like classify or explain_obligation, so it stops 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 description gives clear context on when to use the tool: when the user can supply file contents and wants AI-capability analysis mapped to Article 50 obligations. It does not mention alternative sibling tools or exclusion cases, so guidance on choosing among siblings is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/legalithm-org/legalithm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server